Boost logo

Boost-Build :

From: Paul Hamilton (paul_at_[hidden])
Date: 2003-09-17 01:23:35

I am new to bjam, and I want to ask 3 questions.

1) How do I specify n external dependancy in my .jam files?

Imagine this:

run unit_test.cpp
: #args
: test.xml pattern.test
: <sysinclude>$(PROJECT_ROOT) <sysinclude>$(BOOST_ROOT)

Now it just so happens that "test.xml" is not self contained, because
it "includes" another file called "test2.xml" (it includes it using an
internal mechanism of the test program).

I can't just put "test2.xml" in the args, because I don't want it
actually passed to the program. When I change test2.xml, I want it to
re-run the test.

2) How do I override compiler settings which are defaults on a build.
For example I always want to build both debug and release without
inlining in darwin (for example).

I guess I would place <inlining>off somewhere in the following of my
jam file right?

dll schemalib_ : $(SCHEMA_PATH)/$(CPP_SOURCES).cpp
: <sysinclude>$(PROJECT_ROOT) <sysinclude>$(BOOST_ROOT)
: debug release

3) What is the actual philosophical driving force behind the whole "v2"
thing? Should I be using v2 on all new projects? What will be the main
important features of "v2" over "v1" jam files?

Paul Hamilton
pHamtec P/L - Software Makers

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.


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