Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2007-04-22 22:07:50


How can I override settings of my global project
settings in Jamroot for one specific target and
variant? For example, if I have the following

--------------- Jamroot -------------

   : requirements

--------------- Jamfile --------------

exe test
        : [ glob *.cpp ] /site-config//boost_date_time

---------- Error message "bjam release" -----

/usr/share/boost-build/build/targets.jam:1039: in
basic-target.__init__ from module
error: gristed element in sources for ./test
/usr/share/boost-build/build/targets.jam:1323: in
object(typed-target)@51.__init__ from module
/usr/share/boost-build/kernel/class.jam:92: in new
from module class
/usr/share/boost-build/build/targets.jam:1471: in
targets.create-typed-target from module targets
/usr/share/boost-build/build/type.jam:371: in exe from
module type
Jamfile:8: in modules.load from module
/usr/share/boost-build/build/project.jam:312: in
load-jamfile from module project
/usr/share/boost-build/build/project.jam:68: in load
from module project
/usr/share/boost-build/build/project.jam:170: in
project.find from module project
/usr/share/boost-build/build-system.jam:148: in load
from module build-system
/usr/share/boost-build/kernel/modules.jam:261: in
import from module modules
/usr/share/boost-build/kernel/bootstrap.jam:132: in
boost-build from module
/usr/share/boost-build/boost-build.jam:1: in module
scope from module

So how can I override global project settings in
Jamroot per variant in a Jamfile? How can I make this
to work?


Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today*

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