Package SCons :: Module Defaults :: Class NullCmdGenerator
[show private | hide private]
[frames | no frames]

Class NullCmdGenerator


This is a callable class that can be used in place of other command generators if you don't want them to do anything.

The __call__ method for this class simply returns the thing you instantiated it with.

Example usage: env["DO_NOTHING"] = NullCmdGenerator env["LINKCOM"] = "${DO_NOTHING('$LINK $SOURCES $TARGET')}"


Method Summary
  __init__(self, cmd)
  __call__(self, target, source, env, for_signature)

Generated by Epydoc 2.1 on Wed Dec 12 09:39:31 2007 http://epydoc.sf.net