|
Boost-Build : |
Subject: Re: [Boost-build] How to set special generation requirements for generated files
From: Juraj IvanÄiÄ (juraj.ivancic_at_[hidden])
Date: 2010-07-23 04:43:00
On 22.7.2010 20:50, Moritz Hassert wrote:
> Steven Watanabe wrote:
>> Moritz Hassert wrote:
>>> cpp bison1
>>>
>>> : bison1.yy
>>> :<bison.prefix>pre1 ;
>>>
>>> cpp bison2
>>>
>>> : bison2.yy
>>> :<bison.prefix>pre2 ;
>>>
>>> lib foo
>>>
>>> : somefile.cpp
>>> :
>>> bison1
>>> bison2
>>>
>>> :<define>SOME_MACRO
>>> <include>some/path ;
As a final touch - you can write it more compactly:
lib foo
: somefile.cpp
[ cpp bison1 : bison1.yy : <bison.prefix>pre1 ]
[ cpp bison2 : bison2.yy : <bison.prefix>pre2 ]
: <define>SOME_MACRO
<include>some/path ;
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