3 # To avoid other libraries accumulation (boost testing, i.e.)
6 # See http://www.scons.org/doc/2.0.1/HTML/scons-user/c1809.html
8 boost_library = { 'LIBS' : 'boost_unit_test_framework' }
9 localEnv.MergeFlags (boost_library)
11 anna_library = { 'LIBS' : [ 'anna_time', 'anna_xml', 'anna_core' ] }
12 localEnv.MergeFlags (anna_library)
14 pwd = Dir ('.').abspath;
15 current_directory = str (pwd);
17 context = "test/time/"
18 libpath_core = current_directory.replace (context, 'source/core/');
19 libpath_xml = current_directory.replace (context, 'source/xml/');
20 libpath_time = current_directory.replace (context, 'source/time/');
22 localEnv.Append(LIBPATH = [libpath_core, libpath_xml, libpath_time])
24 result = localEnv.Program ('anna_test_time', Glob ('*.cpp'))