xlnt/third-party/cxxtest/test/unit/SConstruct

13 lines
335 B
Python
Raw Normal View History

CxxTestBuilder_path = '../../build_tools/SCons/cxxtest.py'
CxxTest_dir = '../..'
# First a little python magic to pull in CxxTestBuilder
import imp
cxxtest = imp.load_source('cxxtest', CxxTestBuilder_path)
env = Environment()
cxxtest.generate(env, CXXTEST_INSTALL_DIR=CxxTest_dir)
for test in env.Glob('*.t.h'):
env.CxxTest(test)