[Scons-users] How to deal with a list of targets in a Command builder?
Dirk Baechle
tshortik at gmx.de
Mon Feb 9 08:14:47 EST 2015
Hi Carsten,
Am 09.02.2015 um 11:29 schrieb Carsten Fuchs:
> Dear SCons fellows,
>
> at this time I use SCons to build my project's C++ programs. This is followed by a series of manual, custom steps to build the
> related reference documentation.
> [...]
>
> This never prints anything, probably because the target directory exists and is not the real target anyway: the real targets are the
> *.hpp files in that directory, which possibly not exist before the build and which I don't know how to specify properly.
>
that's correct.
> So this is my question: How do I properly specify the `#/Doxygen/scripting/tmpl/*.hpp` files, which are unknown ahead of running the
> build, as a target for the custom Command builder?
>
You'll have to define a custom Emitter for your "CAwe" Builder, have a look at http://www.scons.org/wiki/ToolsForFools for a simple
example.
Best regards,
Dirk
More information about the Scons-users
mailing list