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

edA-qa mort-ora-y eda-qa at disemia.com
Sat Aug 18 12:42:49 EDT 2012


This also seems to work:

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

Is it supposed to work (I don't know Python too well)


On 18/08/12 16:44, Jean-Baptiste Lab wrote:

> 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

>>

> _______________________________________________

> Scons-dev mailing list

> Scons-dev at scons.org

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

>

>



--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20120818/68e58601/attachment.pgp>


More information about the Scons-dev mailing list