$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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.
Drawbacks:
- now the output is generated in source directory, what is usually not
desired
- 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)
Pavel Machyniak