[Scons-users] '$(' and '$)' in command strings of custom builder
Russell, J.J.
russell at slac.stanford.edu
Fri Apr 25 20:23:22 EDT 2014
I have a custom builder that generates .os files much like SharedObject does. (It really is SharedObject with some extra dressing needed in a cross-development environment for a specific type of source file. SharedObject is also used for its usual purpose, so needed another version of it.)
I specify the action in the builder as
action = SCons.Action.Action ('$XXCCCOM', '$XXCCCOMSTR'),
where XXCCCOMSTR is left undefined. The echo command string includes the '$(' and '$)' that typically surround the include files. For other builders these are typically stripped. What am I doing wrong?
JJ
Dr. James J. Russell
Stanford Linear Accelerator Center
650-926-2583
russell at slac.stanford.edu
More information about the Scons-users
mailing list