Import ('env') # See http://www.scons.org/doc/2.0.1/HTML/scons-user/c1809.html # about merging flags boost_library = { 'LIBS' : 'boost_unit_test_framework' } env.MergeFlags (boost_library) anna_library = { 'LIBS' : 'anna_core' } env.MergeFlags (anna_library) #system_library = { 'LIBS' : 'boost_program_options' } #env.MergeFlags (system_library) pwd = Dir ('.').abspath; current_directory = str (pwd); libpath = current_directory.replace ('test/', 'source/'); env.Append (LIBPATH = [libpath]) result = env.Program ('anna_test_core', Glob ('*.cpp')) Return ('result')