|
Boost-Build : |
Subject: Re: [Boost-build] How to set special generation requirements for generated files
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-07-22 13:56:15
AMDG
Moritz Hassert wrote:
> Something like this would be nice:
>
> #like obj rule, but resulting target is a CPP file
> 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 ;
>
> Like with the obj rule, you wouldn't specify the file suffix. That way such a
> target is not confused with a normal cpp-file.
>
This doesn't work? I would have expected it to. There should be a rule
for every file type that Boost.Build handles.
In Chirst,
Steven Watanabe
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