| On 4/4/04 11:47 AM, John ffitch etched in stone:
> I assume something like XXX.Program('etags',libCsoundfiles) is needed
etags is not a supported built-in tool for scons, so probably not
XXX.Program('etags',libCsoundfiles). Something more like
XXX.Command('target_filename', ['foo.c', 'foo.h'], "etags $SOURCES")
What is the name of the output file for etags? That should go in the space
'target_filename' above. If you have one target for each source file, you
may need to loop over the set of source files (?). The scons XXX.Command()
function seems to only allow one target per invocation. Another way around
this might be to use the SideEffect() command to declare all of the output
files as side effects of creating the target.
The other possibility would be to create a new tool in Scons for the etags
command. Probably make a file engine/Scons/Tool/etags.py in the Scons
distribution.
Also, your XXX.Command() calls should be conditional for the platforms that
actually have etags.
Anthony Kozar
anthony.kozar@utoledo.edu |