Boost logo

Boost-Build :

Subject: [Boost-build] Setting cxxflags on the command line?
From: John Maddock (john_at_[hidden])
Date: 2008-10-02 04:44:00


I'm having trouble setting cxxflags on the command line, I'm trying:

bjam --build-dir=/home/jm/bin mpfr_concept_check ntl_concept_check
'cxxflags=-I/home/jm/download/open/gmpfrxx'

But get:

/usr/share/boost-build/build/feature.jam:259: in feature.implied-feature
from module feature
error: "home" is not a value of an implicit feature
/usr/share/boost-build/build/property.jam:287: in validate1 from module
property
/usr/share/boost-build/build/property.jam:301: in property.validate from
module property
/usr/share/boost-build/build/build-request.jam:200: in
convert-command-line-element from module build-request
/usr/share/boost-build/build/build-request.jam:153: in
build-request.from-command-line from module build-request
/usr/share/boost-build/build-system.jam:573: in load from module
build-system
/usr/share/boost-build/kernel/modules.jam:283: in import from module modules
/usr/share/boost-build/kernel/bootstrap.jam:128: in boost-build from module
/home/jm/boost/sandbox/boost-build.jam:43: in module scope from module

This is on ubuntu Linux BTW.

What am I doing wrong?

Thanks, John.


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