[jamboost] Re: [C++-sig] gcc-link-action actions to long (max 10240)

David Abrahams dave at boost-consulting.com
Sun Nov 10 03:01:00 CET 2002


"Achim Domma" <achim.domma at syynx.de> writes:

>> -----Original Message-----
>> From: David Abrahams [mailto:dave at boost-consulting.com]
>> 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) ;

etc.

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list