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 <[email protected]> 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 >> [email protected] >> http://two.pairlist.net/mailman/listinfo/scons-dev >> > _______________________________________________ > Scons-dev mailing list > [email protected] > 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.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Scons-dev mailing list [email protected] http://two.pairlist.net/mailman/listinfo/scons-dev
