Boost logo

Boost-Build :

From: emildotchevski (emildotchevski_at_[hidden])
Date: 2005-08-16 01:36:30


I have the following in my Jamroot:

project

: requirements
<include>src
<include>ext
<include>sys/$(TARGET-PLATFORM)
<link>static
<toolset>msvc:<version>8.0 <cflags>-wd4996
<toolset>gcc <cflags>-Wno-non-virtual-dtor

: build-dir
bld

;

When I build with gcc, I properly get the -Wno-non-virtual-dtor
warning disabled; however I also get a warning that -wd4996 is
unknown command line option. Obviously, I want -wd4996 to kick-in
only for msvc 8.0.

I am not experienced with bjam or boost.build -- could someone spot
what am I doing wrong?

Thanks,
Emil

 


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