From: <and...@us...> - 2008-04-18 02:21:25
|
Revision: 586 http://python-ogre.svn.sourceforge.net/python-ogre/?rev=586&view=rev Author: andy_miller Date: 2008-04-17 19:21:30 -0700 (Thu, 17 Apr 2008) Log Message: ----------- Fix boost jame file back to 1.34 Modified Paths: -------------- trunk/python-ogre/boost/libs/python/build/Jamfile.v2 Modified: trunk/python-ogre/boost/libs/python/build/Jamfile.v2 =================================================================== --- trunk/python-ogre/boost/libs/python/build/Jamfile.v2 2008-04-18 01:57:41 UTC (rev 585) +++ trunk/python-ogre/boost/libs/python/build/Jamfile.v2 2008-04-18 02:21:30 UTC (rev 586) @@ -22,13 +22,12 @@ } } +if [ python.configured ] { + project boost/python - : source-location ../src - ; + : source-location ../src + ; -rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } } -rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } } - lib boost_python : # sources numeric.cpp @@ -59,10 +58,8 @@ wrapper.cpp import.cpp exec.cpp - object/function_doc_signature.cpp indexing/indexing_slice.cpp indexing/python_iterator.cpp - : # requirements <link>static:<define>BOOST_PYTHON_STATIC_LIB <define>BOOST_PYTHON_SOURCE @@ -79,19 +76,19 @@ # python_for_extensions is a target defined by Boost.Build to # provide the Python include paths, and on Windows, the Python # import library, as usage requirements. - [ cond [ python.configured ] : <library>/python//python_for_extensions ] - - # we prevent building when there is no python available - # as it's not possible anyway, and to cause dependents to - # fail to build - [ unless [ python.configured ] : <build>no ] - + <library>/python//python_for_extensions + <python-debugging>on:<define>BOOST_DEBUG_PYTHON + : # default build <link>shared : # usage requirements <link>static:<define>BOOST_PYTHON_STATIC_LIB <python-debugging>on:<define>BOOST_DEBUG_PYTHON ; - -boost-install boost_python ; +} +else +{ + ECHO "warning: Python location is not configured" ; + ECHO "warning: the Boost.Python library won't be built" ; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |