Boost logo

Boost-Build :

From: Motonari Ito (motonari_at_[hidden])
Date: 2005-10-03 18:56:03



The bjam creates object files at somewhere like output\module\msvc-7.1
\debug\threading-multi. How can I get the location and pass it to
compiler through <cxxflags>?


I have a project with precompiled headers. Since bjam doesn't officially
support precompiled header compilation yet, we use <cxxflags> to make it

The msvc compiler has a option to create precompiled header at specified
location (/Fp). So, I want to do something like below. Now, how can I
specify [TARGET_LOCATION] such that it locates the directory of pch_obj.

# The precompiled header Target Jamfile
project pch : requirements
: usage-requirements

obj pch_obj : pch.cpp ;

# Main target Jamfile
exe hello : hello.cpp pch//pch_obj ;

- VC7.1
- Boost-build v2 CVS version.

Thank you.

Motonari Ito (motonari_at_[hidden])

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