26181907ff6e3f42cca9e61769578fd032215fb0
[anna.git] / test / config / 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_config' }
9 env.MergeFlags (anna_library)
10
11 pwd = Dir ('.').abspath;
12 current_directory = str (pwd);
13
14 libpath = current_directory.replace ('test/', 'source/');
15 env.Append (LIBPATH = [libpath])
16
17 result = env.Program ('anna_test_config', Glob ('*.cpp'))
18
19 Return ('result')