Rev | Line | |
---|
[12] | 1 | import os ; |
---|
| 2 | import modules ; |
---|
| 3 | |
---|
| 4 | import python ; |
---|
| 5 | |
---|
| 6 | if [ python.configured ] { |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | project 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 | |
---|
| 28 | lib 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 | } |
---|
| 62 | else |
---|
| 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.