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
Boost.Build V2:

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