Boost logo

Boost-Build :

From: Peter Foley (pjfoley_at_[hidden])
Date: 2005-07-07 05:20:27

Hi List,

During the development of the wix.jam file to make it easier for me to
develop I hard coded various values. I am at the stage where I am trying to
remove the bit where I hardcode "../src" (see the compile and link actions

actions compile 
$(.CC) -nologo "$(OPTIONS)" -d"$(DEFINES)" -I../src/"$(INCLUDES)" -out
"$(<)" "$(>)"
actions link
$(.LD) -nologo "$(OPTIONS)" -b ../src -out "$(<)" "$(>)"
I have my project jam file defined like this:
(Note: Disregard the silly <include>, <define>, <compileflags> and
<linkflags> values. I have just defined these so I can see some output
while doing bjam -n -a)
project boost_inst
: source-location ../src
: build-dir msi
msi boost 
: installer.wxs
: <include>includes
As you can see from above the source-location variable is defined with the
location that the source will be located at ("../src"). What variable can I
embed in the code that will always contain the source-location variable?

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