2010-07-20 02:40:37 +02:00
|
|
|
import os
|
|
|
|
import glob
|
|
|
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
headers = env['CPPPATH']
|
|
|
|
|
2010-07-20 04:12:43 +02:00
|
|
|
filesystem = 'boost_filesystem%s' % env['BOOST_APPEND']
|
|
|
|
system = 'boost_system%s' % env['BOOST_APPEND']
|
|
|
|
regex = 'boost_regex%s' % env['BOOST_APPEND']
|
2010-07-20 02:40:37 +02:00
|
|
|
|
2010-07-20 04:12:43 +02:00
|
|
|
libraries = [filesystem, 'mapnik2']
|
2011-10-26 04:29:51 +02:00
|
|
|
libraries.append(env['ICU_LIB_NAME'])
|
|
|
|
libraries.append(regex)
|
|
|
|
libraries.append(system)
|
2010-07-20 02:40:37 +02:00
|
|
|
|
2010-08-10 10:23:02 +02:00
|
|
|
for cpp_test in glob.glob('path_element_test.cpp'):
|
2010-07-20 02:40:37 +02:00
|
|
|
env.Program(cpp_test.replace('.cpp',''), [cpp_test], CPPPATH=headers, LIBS=libraries)
|