From: René Perlberg (perle5000_at_[hidden])
Date: 2008-03-19 07:55:22
Vladimir Prus <ghost_at_[hidden]> schrieb am Mon, 17 Mar 2008 06:55:14 +0100:
> Why are you defining 4 different variants? I think that _WIN32
> is defined by windos compilers automatically. As for conditional
> setting of NAT_DEBUG, the following should work:
> Let me know if that works for you.
After experiencing a little in the last days and reading the answers of
you and Josh everything works like a charme now.
use-project /natlibrary : src/ ;
: requirements <include>include <variant>debug:<define>NAT_DEBUG
: build-dir bin/
: usage-requirements <include>../include
: [ glob *.cpp ]
You were right about the _WIN32 define, so there's no need to put that
into the Jamfile.
<target-os> doesn't work, but <os> did the job for me.
Now it's possible to create debug and release versions under linux and
using different compilers under windows via command line.
Thanks very much for your help .
-- ICQ: 425724369 6. Ilmenauer Newcomerfestival: http://www.ilmenau-festival.de BI-Studentenclub: http://www.bi-club.de e.sigma Technology AG: http://www.esigma-systems.de
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