Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-09-24 04:18:43

Vladimir Prus wrote:
> Markus,
> did you worked this around already? If not, I have a very crude idea ---
> definite kluge. Each toolset defines a rule called "C++-action", which
> set ups build actions. You can tweak that rule for a given toolset, so
> that it notices when the problematic file is compiled and changes
> options appropriately. This *completely* bypasses all the build system
> machinery, but per-source requirements can't be added to V1.
> To determine when you're compiling problematic file, you can look at the
> first argument of the rule. For example, you might be looking for
> <dir1/dir2/library1/.....>file.o
> This is only an idea, not 100% finished recipe. Feel free to ask if you
> run in any problems with it.
> - Volodya

Hmm, yes, this works. Not very nice but doable. Thanks, Volodya.

I have been playing with the rule declare-local-target to define
special build flags for a single object file but I had no luck.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at