Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/python/build/Jamfile.v2 @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 1.6 KB
RevLine 
[12]1import os ;
2import modules ;
3
4import python ;
5
6if [ python.configured ] {
7   
8
9project boost/python
10    : source-location ../src
11        : requirements
12        #<include>$(PYTHON_PATH)/include
13        #  $(lib_condition)<library-path>$(PYTHON_PATH)/libs
14        #    <link>shared:<library>$(PYTHON_LIB)
15        #    <define>$(defines)
16        #: usage-requirements # requirement that will be propageted to *users* of this library
17        #  <include>$(PYTHON_PATH)/include
18
19# We have a bug which causes us to conclude that conditionalized
20# properties in this section are not free.
21#          $(lib_condition)<library-path>$(PYTHON_PATH)/lib/python2.2/config
22#            <shared>true:<find-library>$(PYTHON_LIB)
23           
24        # <library-path>$(PYTHON_PATH)/lib/python2.2/config
25        #    <library>$(PYTHON_LIB)
26    ;
27
28lib boost_python
29    :
30    numeric.cpp
31    list.cpp
32    long.cpp
33    dict.cpp
34    tuple.cpp
35    str.cpp
36    slice.cpp
37
38    aix_init_module.cpp
39    converter/from_python.cpp
40    converter/registry.cpp
41    converter/type_id.cpp
42    object/enum.cpp
43    object/class.cpp
44    object/function.cpp
45    object/inheritance.cpp
46    object/life_support.cpp
47    object/pickle_support.cpp
48    errors.cpp
49    module.cpp
50    converter/builtin_converters.cpp
51    converter/arg_to_python_base.cpp
52    object/iterator.cpp
53    object_protocol.cpp
54    object_operators.cpp
55    wrapper.cpp
56    :   <link>static:<define>BOOST_PYTHON_STATIC_LIB
57        <define>BOOST_PYTHON_SOURCE
58        <library>/python//python
59    : <link>shared
60    ;
61}
62else
63{
64    ECHO "warning: Python location is not configured" ;
65    ECHO "warning: the Boost.Python library won't be built" ;
66}
Note: See TracBrowser for help on using the repository browser.