wscript_build 269 B

123456789101112
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. bld.env.NARG = '-flag2'
  4. bld(
  5. features = 'cxx cxxprogram test',
  6. source = 'HelloWorldTest.cpp',
  7. target = 'unit_test_program',
  8. use = 'unittestmain useless CPPUNIT',
  9. ut_str = '${SRC[0].abspath()} -flag1 ${NARG}'
  10. )