Subject: Re: [Boost-build] How to stop dependency propagation on unmodified generated targets
From: Pavel Machyniak (machyniak_at_[hidden])
Date: 2012-05-18 06:26:14
I found the workaround, but generation part is not using target. So this
is not correct answer to my question.
It has some drawbacks, but it works:
### jamfile.jam ###
SHELL "gen.py gen.h" ;
exe test : test.cpp ;
Now generation is done each time jamfile is loaded/executed.
- now the output is generated in source directory, what is usually not
- if the generated output is put to some other directory:
- it must be created first
- targets that use the generated file must know where to find it (no
usage requirements propagation)
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk