diff --git a/build/Jamfile b/build/Jamfile new file mode 100644 index 00000000..074adfee --- /dev/null +++ b/build/Jamfile @@ -0,0 +1,36 @@ +subproject libs/python/build ; + +SOURCES = classes.cpp conversions.cpp extension_class.cpp functions.cpp + init_function.cpp module_builder.cpp + objects.cpp types.cpp cross_module.cpp ; + +PYTHON_ROOT ?= c:/tools/python ; + +PYTHON_INCLUDES = $(BOOST_ROOT) $(PYTHON_ROOT)$(SLASH)include ; + +lib libboost_python : ../src/$(SOURCES) : $(PYTHON_INCLUDES) true ; + +rule boost-python +{ + dll $(<) : $(>) : + $(3) $(PYTHON_INCLUDES) + $(PYTHON_ROOT)/libs + <*>$(PYTHON_ROOT)/libs/python20.lib + : $(4) ; +} + +boost-python boost_python_test : libboost_python ../test/comprehensive.cpp ; + +boost-python abstract : libboost_python ../example/abstract.cpp ; +boost-python getting_started1 : libboost_python ../example/getting_started1.cpp ; +boost-python getting_started2 : libboost_python ../example/getting_started2.cpp ; +boost-python simple_vector : libboost_python ../example/simple_vector.cpp ; +boost-python do_it_yourself_converters : libboost_python ../example/do_it_yourself_converters.cpp ; +boost-python pickle1 : libboost_python ../example/pickle1.cpp ; +boost-python pickle2 : libboost_python ../example/pickle2.cpp ; +boost-python pickle3 : libboost_python ../example/pickle3.cpp ; +boost-python noncopyable_export : libboost_python ../example/noncopyable_export.cpp ; +boost-python noncopyable_import : libboost_python ../example/noncopyable_import.cpp ; +boost-python ivect : libboost_python ../example/ivect.cpp ; +boost-python dvect : libboost_python ../example/dvect.cpp ; +