Vladimir Prus wrote:
>>Can I do something like what is described in
"How to change compilation
>>flags for one file?"
>>http://boost.sourceforge.net/boost-build2/d
oc/html/bbv2/faq/s08.html?
>
>
> either the above, but with 'cpp' as the target kind:
>
> cpp lexer : lexer.gl : :
<antlr-name>SimpleLexer ;
> cpp lexer2 : lexer2.gl : :
<antlr-name>SimpleLexer2 ;
>
> should work.
>
Thanks I had tried that but the extra colon caught me out.
Now it works
but I get some warnings like:
warn: Unable to construct ./lexer
Is there any way to get rid of these?
Here is the Jamfile:
cpp lexer : lexer.gl : : <antlr-name>Simple
<antlr-base>Base ;
lib antlr_lib
:
Base.gl
lexer
;
lib test_lib
: # sources
test.cpp
: # reqirements
<implicit-dependency>antlr_lib
;
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|