List Info

Thread: Re: custom feature in target reference




Re: custom feature in target reference
country flaguser name
United Kingdom
2007-05-11 10:02:06
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

Re: custom feature in target reference
country flaguser name
Russian Federation
2007-05-11 10:11:24
John Reid wrote:

> 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?

Can you send me the complete project?

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )