Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#156 closed defect (fixed)

Document conditional settings based on multiple features

Reported by: jurko at docte dot hr Owned by: somebody
Priority: minor Milestone: M14 - Docs
Component: component1 Version: 2.0
Keywords: Cc:

Description

The undocumented way I found to add conditional settings based on multiple features is to separate the efatures using a comma as in:

  <toolset>msvc,<variant>debug:<linkflags>/NODEFAULTLIB:libcmt.lib

This should be documented and examples demonstrating this should be included.

Change History (2)

comment:1 by jasonspiro4@…, 17 years ago

Cc: jurko@… added
Resolution: fixed
Status: newclosed

Thanks for your feedback.

I notice this is already documented at http://www.boost.org/doc/libs/1_35_0/doc/html/bbv2/reference.html#bbv2.reference.variants.propcond ; that manual section says:

The syntax also allows several properties in the condition, for example: 

exe hello : hello.cpp : <os>NT,<toolset>gcc:<link>static ;

Probably someone wrote that bit of documentation sometime after you filed your feature request.

comment:2 by Md Abdur Rahim, 17 years ago

Cc: jurko@… removed
Note: See TracTickets for help on using tickets.