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