List Info

Thread: Trouble with a lib rule's user requirements section




Trouble with a lib rule's user requirements section
country flaguser name
United States
2007-07-30 14:01:07
I am using Boost.Build V2 (Milestone 11) Boost.Jam 03.1.15.

I've discovered a strange behavior with a lib rule.  It is:

lib somelib : : <variant>debug:<file>....
                 <variant>release:<file>...
             : : <define>FOO ;
When I use such a rule building an exe, the FOO definition
only shows up 
in the release build.

Is this as intended?  Is there a work around?

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

Re: Trouble with a lib rule's user requirements section
user name
2007-07-30 14:24:47
Jeffrey Holle wrote:

> I am using Boost.Build V2 (Milestone 11) Boost.Jam
03.1.15.
> 
> I've discovered a strange behavior with a lib rule.  It
is:
> 
> lib somelib : : <variant>debug:<file>....
>                 
<variant>release:<file>...
>              : : <define>FOO ;
> When I use such a rule building an exe, the FOO
definition only shows up
> in the release build.
> 
> Is this as intended?  Is there a work around?

Please provide a complete example reproducing this, as an
archive.

- Volodya


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

[1-2]

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