Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-09 21:01:00

"Achim Domma" <achim.domma_at_[hidden]> writes:

>> -----Original Message-----
>> From: David Abrahams [mailto:dave_at_[hidden]]
>> Another approach is to break your extension module into libraries:
>> lib part1 : a.cpp b.cpp c.cpp ;
>> lib part2 : d.cpp e.cpp f.cpp ;
>> extension ext : <lib>part1 <lib>part2 <dll>../build/boost_python ;
> Hi Dave,
> I tried this, but the libs do not have the same settings, which are set
> automaticaly for extensions. This means, that <boost/python.hpp> and the
> python include files are not found. I know I could add
> <include>"my/path/to/boost" to my jamfile, but is there a simpler way to use
> the settings of the extension target?

Oh, yeah: try

lib part1 : a.cpp b.cpp c.cpp : $(PYTHON_PROPERTIES) ;


David Abrahams
dave_at_[hidden] *

Boost support, enhancements, training, and commercial distribution

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