Boost logo

Boost-Build :

Subject: Re: [Boost-build] Dependencies on generated header files
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-10-03 05:14:09

On Friday, October 01, 2010 00:45:15 Trevor wrote:
> How do I let Boost.Build know about dependencies on generated header files?
> I have a simple Jamfile that runs flex and bison, builds a library with the
> output, and builds an executable with the library and a source file:
> using bison ;
> using lex ;
> lib sql_parser : sql_lexer.ll sql_parser.yy : <link>static ;
> exe sql_parser_test : main.cpp sql_parser ;

Hi Trevor,

try adding <implicit-dependency>sql_parser as requirement to your 'exe'
target. See documentation section on generated headers for more details.


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