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

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:
Sent from the Boost - Build mailing list archive at

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at