[Scons-users] How to build variants from generated source files

Petteri Hintsanen petterih at iki.fi
Tue Oct 11 05:11:25 EDT 2016


Dirk Baechle <tshortik at gmx.de> writes:

> and thanks for your question. You want to do two phases for your
> build. Use a separate SConscript (not using variant_dir) to create
> only the C++ sources with your generator as step 1. After that you can
> call your current SConscript with as many variants as you like, but
> remove the absolute paths (#generator/...).

Yes, this approach works.  Many thanks!

Regards,
Petteri


More information about the Scons-users mailing list