Boost logo

Boost-Build :

Subject: [Boost-build] Target alternatives - one more time
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-07-14 16:34:38


Given a particular source I want to test if it will compile with a
particular option, can someone show me how to set up the jamfile so that
I compile for two different toolsets but not for any other toolsets ?

As an example suppose I want to compile some_source.cpp with the
-std=c++0x for gcc-4.6.0 and gcc-4.5.2, and I also want to compile
some_source.cpp with no particular option for all toolsets. How do I do
this in a jamfile ?


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk