**kw)
stamp = env.Command(stampnode, bin,
- [ '$SOURCE $BOOSTTESTARGS',
- 'touch $TARGET' ],
+ [ '$SOURCE $BOOSTTESTARGS', SCons.Script.Touch('$TARGET')],
**kw)
- alias = env.Command(env.File(target), stamp, [])
+ alias = env.Command(env.File(target), stamp, [ env.NopAction() ] )
compileTests = [ src for src in source
if src.suffix in SCons.Tool.cplusplus.CXXSuffixes \
def FindAllBoostUnitTests(env, target, source):
return _ALL_TESTS
+def NopAction(env, target, source):
+ def nop(target, source, env) : return None
+ def nopstr(target, source, env) : return ''
+ return env.Action(nop, nopstr)
+
def generate(env):
env.SetDefault(
BOOST_VARIANT = '',
source_scanner = SCons.Scanner.C.CScanner(),
single_source=1
)
+ env['BUILDERS']['NopAction'] = NopAction
def exists(env):
return True