Boost logo

Boost-Build :

Subject: [Boost-build] Logical AND for conditions
From: Norbert Wenzel (n_wenzel_at_[hidden])
Date: 2009-12-07 06:22:53


I'm sure this is mentioned in the docs, but I didn't find it.

The example from the documentation on page "Conditions and alternatives" describes the situation when you need a specific define to build your library.

lib network : network.cpp
    : <link>shared:<define>NEWORK_LIB_SHARED

I was wondering, how I would tell BB to only define the NEWORK_LIB_SHARED for windows. I've tried


so far, but that didn't work (though it compiled without any error, except the missing define).

I'm sorry for asking a question of which I'm quite sure that it is mentioned in the docs, but as said before, I didn't find it.


Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher!

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