Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-17 02:22:18


On Wednesday 17 May 2006 07:01, Brian Budge wrote:
> Hi all -
>
> I'm interested in adding flags to my gcc command line... for instance,
> I'd like to build a variant which adds -msse2 -fpmath=sse, etc...
>
> Is there a "standard" way of doing this? I found something about
> setting up a toolset to use specific compileflags (ie. compile for 64
> bit), however, I'd like these compileflags only for my variant.

Add <variant>your_variant:<cxxflags>"-msse2 -fpmath=sse" to requirements of
your target.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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