Boost logo

Boost-Build :

Subject: Re: [Boost-build] cxxflags bug ?
From: bganesh05_at_[hidden]
Date: 2012-07-25 04:12:16


Hi Friends,

I am also trying to use cxxflags with msvc for specifying optimization flags
like "/Ox /Oi /GF /Gy " for release variant.
I do NOT want to use the "<optimization>speed : /O2" specified in msvc.jam.

I added:
    <target-os>windows:<variant>release:<cxxflags>"/Ox /Oi /GF /Gy "
in my project requirements section in Jamroot file.

I am not using <optimization>speed anywhere in Jamroot, still I see that
compilation command line has "/O2" and not the "/Ox..." flags that I
specified.

Can we not set the command "cxxflags" in project requirements section for
one type of build variant?

Thanks for your time and guidance.

Best Regards.

--
View this message in context: http://boost.2283326.n4.nabble.com/cxxflags-bug-tp3431463p4633550.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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