Boost logo

Boost-Build :

Subject: [Boost-build] Always link against release version of Boost libraries
From: Boris Schaeling (boris_at_[hidden])
Date: 2011-02-19 04:36:23


Is there a way to always link against the release version of the Boost
libraries (because the debug version hasn't been built and is not
available on a server)? I'm on Linux and want g++ to link against
boost_regex and not against boost_regex-d (which g++ picks because of
auto-linking). Adding <variant>release doesn't work but maybe something
else does?

using boost : 1.38 : <layout>system <variant>release ;
import boost ;
boost.use-project 1.38 ;
exe test : test.cpp /boost//regex ;

(Yes, this is with Boost 1.38.)

Boris


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