Subject: [Boost-build] Sorting include headers
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-10-15 11:18:49
As per FAQ:
The boost build system seems to sort header files. Is there any way
to turn that off completely? I know a long shot but to be honest,
this is a very very (VERY) annoying feature of bjam. It should
preserve the order in which is specified on the command line (I don't
see why internally it needs to do this).
Also, the example that is given uses the "&&" syntax between two
header files. How about across several groups of header files in
path-constants? Couldn't there be some kind of built-in feature that
turns this off?
What if I have:
path-constant common_headers : blah blah etc.
path-constant sub_headers : blah blah etc.
How do I ensure that common_headers comes before sub_headers?
In a prior thread, it was recommended I can use alias but again, how
do ensure the order of includes is preserved (and for my production
PROJECT it does matter - I'm not going to rewrite source just yet to
avoid obvious namespace collisions, the current build just puts the
includes in the right order and things compile).
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