8b742c80317f7d09191473d0574a040c95153301
[anna.git] / test / core / SConscript
1 Import ('env')
2
3 # See http://www.scons.org/doc/2.0.1/HTML/scons-user/c1809.html
4 # about merging flags
5 boost_library = { 'LIBS' : 'boost_unit_test_framework' }
6 env.MergeFlags (boost_library)
7
8 anna_library = { 'LIBS' : 'anna_core' }
9 env.MergeFlags (anna_library)
10
11 #system_library = { 'LIBS' : 'boost_program_options' }
12 #env.MergeFlags (system_library)
13
14 pwd = Dir ('.').abspath;
15 current_directory = str (pwd);
16
17 libpath = current_directory.replace ('test/', 'source/');
18 env.Append (LIBPATH = [libpath])
19
20 result = env.Program ('anna_test_core', Glob ('*.cpp'))
21
22 Return ('result')
23
24
25
26