[Scons-dev] How to add a library to a link list?

Jean-Baptiste Lab jeanbaptiste.lab at gmail.com
Sat Aug 18 10:44:43 EDT 2012


Probably something like:

baseEnv.Program( 'basic-test',
[ 'game_test.cpp' ],
LIBS = baseEnv['LIBS'] + ['game']
)

JB

On 18 August 2012 16:33, edA-qa mort-ora-y <eda-qa at disemia.com> wrote:

> I'm having a problem that when I specify LIB=['mine'] in a Program

> target the libraries configured by CheckLib are no longer included. How

> can I add my library to the list of ones which are already there?

>

> This library is built earlier in the build process.

>

> This includes my library but no others:

>

> baseEnv.Program( 'basic-test',

> [ 'game_test.cpp' ],

> LIBS = ['game']

> )

>

> Whereas this doesn't include my library, but includes the others:

>

> baseEnv.Program( 'basic-test',

> [ 'game_test.cpp' ],

> )

>

>

> --

> edA-qa mort-ora-y

> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

> Sign: Please digitally sign your emails.

> Encrypt: I'm also happy to receive encrypted mail.

>

>

> _______________________________________________

> Scons-dev mailing list

> Scons-dev at scons.org

> http://two.pairlist.net/mailman/listinfo/scons-dev

>



More information about the Scons-dev mailing list