[Scons-users] Installing libraries

William Blevins wblevins001 at gmail.com
Wed Jan 28 13:17:07 EST 2015


I would approach this by setting correct libpath(s) versus handling this
specifically per lib reference.

V/R,
William
On Jan 28, 2015 1:14 PM, "Stijn De Ruyck" <Stijn.DeRuyck at onsemi.com> wrote:

>  Hello,
>
>
>
> I would like to create a self-contained distributable directory “dist”
> including all executables, config files, docs and 3rd party libraries.
>
>
>
> The problem I have is these 3rd party libraries can be installed in
> different locations on different developer machines, so I don’t want to
> hardcode paths in SConstruct. I could try and fix that, but I wondered if
> there is a more flexible SCons approach to this?
>
>
>
> I short: I want to translate
>
>
>
> env.Append(LIBS = [
>
>     'm',
>
>     'pthread',
>
>     'boost_chrono',
>
>     'boost_iostreams',
>
>     'muparser',
>
>     'therond',
>
>     …….
>
>     ])
>
>
>
> into a list of actual path names that I can use in
>
>
>
> env.Install("#dist/"+env['build']+"/lib/",” ??? “)
>
>
>
> Any suggestions?
>
>
>
> Thank you,
>
>
>
> Stijn De Ruyck
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150128/bef31f2e/attachment.html>


More information about the Scons-users mailing list