waf/demos/unit_test/tests/test0/wscript_build

14 lines
291 B
Python

#! /usr/bin/env python
# encoding: utf-8
bld.env.NARG = '-flag2'
bld(
features = 'cxx cxxprogram test',
source = 'HelloWorldTest.cpp',
target = 'unit_test_program',
use = 'unittestmain useless CPPUNIT',
ut_str = '${SRC[0].abspath()} -flag1 ${NARG}',
name = 'test0',
)