[Scons-users] Code generation dependency problem

Dirk Bächle tshortik at gmx.de
Wed Jan 14 17:33:36 EST 2015

Hi Roman,

sorry for the late reply...if you're still interested in this problem find a working example attached please. I moved the 
'input.txt' to the 'src' folder, where all compilation is taking place now.
When working with variant dirs it's a good idea to start by getting things to work properly in the 'src' folder only. Make sure that 
you Builders are working on local filenames only, such that they can easily get prepended by the variant_dir if required. After 
that, all you need to do is include the 'src/SConscript' with the variant_dir(s) you need from the global SConstruct...and you're done.

Hope this helps you further.

Best regards,


On 22.12.2014 14:56, Roman Karlstetter wrote:
> Hi,
> sorry for the delay, but now I have a minimal example which illustrates my problem.
> It somehow has to do with the way that I collect my source files, but I don't see an obvious way how I could solve this.
> Find attached a sample project to reproduce the problem. Any ideas?
> Regards,
> Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: code_generation_problem_example.tar.gz
Type: application/gzip
Size: 4487 bytes
Desc: not available
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150114/510cfed1/attachment.bin>

More information about the Scons-users mailing list