From: Robert Matthews <ignore@ramatthews.free-online.co.uk>
Subject: Re: Problem referencing library file via project file
Date: Sat, 30 Apr 2011 09:57:54 +0100
Date: 2011-04-30T09:57:54+01:00 [thread overview]
Message-ID: <1Imdneq2QP2OUibQnZ2dnUVZ8mydnZ2d@brightview.co.uk> (raw)
In-Reply-To: avg5n91tudn2.1omhe5aj82v7j.dlg@40tude.net
Dmitry A. Kazakov wrote:
>
> I would recommend always refer external non-Ada libraries as proper
> library projects rather than a bunch of linker options.
>
> In your case it could be:
>
> webkit.gpr:
> ---------------------------------------------------
> project WebKit is
> for Externally_Built use "true";
> for Source_Files use ();
> for Library_Dir use "/usr/lib"; -- Or whatever location it has
> for Library_Name use "webkit-1.0";
> for Library_Kind use "dynamic";
> end WebKit;
> -------------------------------------------------
> and then in your project you just "with" it:
>
> with "webkit.gpr";
>
> Gprbuild and gprmake would do the rest.
>
> P.S. I would make this packaging policy for all Ada distributions.
>
That did it! Many thanks.
Robert Matthews
next prev parent reply other threads:[~2011-04-30 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-30 8:15 Problem referencing library file via project file Robert Matthews
2011-04-30 8:34 ` Dmitry A. Kazakov
2011-04-30 8:57 ` Robert Matthews [this message]
2011-04-30 21:36 ` Alex R. Mosteo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox