comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: GNAT Project Files?
Date: 26 Jun 2005 09:59:00 +0200
Date: 2005-06-26T09:59:05+02:00	[thread overview]
Message-ID: <uslz5y2ez.fsf@obry.net> (raw)
In-Reply-To: m2slz6dl1l.fsf@hugin.crs4.it


Jacob Sparre Andersen <sparre@nbi.dk> writes:

> -----
> with "/usr/share/ada/adainclude/xmlada.gpr";
> project AWS is
>    for Source_Dirs use ("/usr/share/ada/adainclude/aws");
>    for Object_Dir use "/usr/lib/ada/adalib/aws";
>    Ada_Switches := "-laws";
>    package Linker is
>       for Default_Switches ("Ada") use (Ada_Switches);
>    end Linker;
> end AWS;
> -----

This project is not a library project and not a project file coming from the
AWS project. So with this project you need to pass the library option to the
linker yourself. Please have a look at the Library Project file and how this
is handled in AWS. AWS has also Library Project to support external libraries
like the one for OpenSSL. Which such an achitecture you just need to add into
your own project file:

   with "aws";

And that's all. If you want SSL support you can use :

   with "aws_ssl";

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2005-06-26  7:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-25 16:11 GNAT Project Files? Jacob Sparre Andersen
2005-06-25 18:14 ` Stephen Leake
2005-06-25 18:53   ` Jacob Sparre Andersen
2005-06-25 20:53     ` Pascal Obry
2005-06-26  0:08       ` Stephen Leake
2005-06-26  7:55         ` Pascal Obry
2005-06-26 13:00           ` Stephen Leake
2005-06-26  0:22       ` Jacob Sparre Andersen
2005-06-26  7:59         ` Pascal Obry [this message]
2005-06-26 13:24           ` Ludovic Brenta
2005-06-26 19:40             ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox