mapnik/tests/cpp_tests/svg_renderer_tests/build.py
Dane Springmeyer 5153678876 fix linking order in svg c++ tests
Conflicts:
	tests/cpp_tests/svg_renderer_tests/build.py
2014-01-20 17:45:06 -08:00

12 lines
341 B
Python

import os
import glob
from copy import copy
Import ('env')
libraries = ['mapnik']
libraries.extend(copy(env['LIBMAPNIK_LIBS']))
for cpp_test in glob.glob('*_test.cpp'):
test_program = env.Program(cpp_test.replace('.cpp',''), [cpp_test], LIBS=libraries)
Depends(test_program, env.subst('../../../src/%s' % env['MAPNIK_LIB_NAME']))