Boost logo

Boost-Build :

From: Robert Langlois (ezralanglois_at_[hidden])
Date: 2008-06-12 11:51:41


Hi Everyone,

How can I get the build path of a target? For example, say I create a
target:

python-extension test-lib ;

This file ends up in the following path:
bin/programs/learn/python/gcc-4.0.2/debug/threading-multi

I wanted to know if there is a rule that already exists to get this path in
a platform independent way.

The reason I need this path is that I am trying to prefix the python
interpretor with another command (mpiexec) and the PYTHONPATH environment
variable is nullified in some way when I do this. So, I propose to pass the
path of the shared file to a python script to get around this problem.

Thanks,
Rob

-- 
Robert Langlois


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