2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 17:52:17 +00:00

Add BOOST_PYTHON_STATIC_LIB and BOOST_PYTHON_DYNAMIC_LIB to usage

requirements, as appropriate.


[SVN r33053]
This commit is contained in:
Vladimir Prus
2006-02-21 07:38:14 +00:00
parent eca25c0b7d
commit 0793267bf0

View File

@@ -26,7 +26,7 @@ project boost/python
;
lib boost_python
:
: # sources
numeric.cpp
list.cpp
long.cpp
@@ -56,10 +56,15 @@ lib boost_python
wrapper.cpp
import.cpp
exec.cpp
: <link>static:<define>BOOST_PYTHON_STATIC_LIB
: # requirements
<link>static:<define>BOOST_PYTHON_STATIC_LIB
<define>BOOST_PYTHON_SOURCE
<library>/python//python
: <link>shared
<library>/python//python
: # default build
<link>shared
: # usage requirements
<link>static:<define>BOOST_PYTHON_STATIC_LIB
<link>shared:<define>BOOST_PYTHON_DYNAMIC_LIB
;
}
else