mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
jamfile
[SVN r14790]
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
namespace detail
|
||||
{
|
||||
// Forward declaration (detail/defaults_def.hpp)
|
||||
template <typename DerivedT>
|
||||
struct func_stubs_base;
|
||||
}
|
||||
|
||||
class module : public detail::module_base
|
||||
{
|
||||
public:
|
||||
|
||||
11
test/Jamfile
11
test/Jamfile
@@ -14,7 +14,7 @@ local PYTHON_PROPERTIES = $(BOOST_PYTHON_V2_PROPERTIES) ;
|
||||
rule bpl-test ( name ? : files * )
|
||||
{
|
||||
files ?= $(name).py $(name).cpp ;
|
||||
|
||||
|
||||
local modules ;
|
||||
local py ;
|
||||
for local f in $(files)
|
||||
@@ -28,7 +28,7 @@ rule bpl-test ( name ? : files * )
|
||||
py = $(f) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
name ?= $(py:S=) ;
|
||||
|
||||
for local f in $(files)
|
||||
@@ -36,11 +36,11 @@ rule bpl-test ( name ? : files * )
|
||||
if $(f:S) != .py
|
||||
{
|
||||
local m = $(f:S=) ;
|
||||
|
||||
|
||||
if $(m) = $(py:S=)
|
||||
{
|
||||
m = $(name) ;
|
||||
|
||||
|
||||
if $(m) = $(py:S=)
|
||||
{
|
||||
m = $(m)_ext ;
|
||||
@@ -50,7 +50,7 @@ rule bpl-test ( name ? : files * )
|
||||
modules += $(m) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
boost-python-runtest $(name) : $(py) <pyd>$(modules) ;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,7 @@ bpl-test builtin_converters : test_builtin_converters.py test_builtin_converters
|
||||
bpl-test test_pointer_adoption ;
|
||||
bpl-test operators ;
|
||||
bpl-test callbacks ;
|
||||
bpl-test defaults_ext : defaults.py defaults.cpp ;
|
||||
|
||||
bpl-test object ;
|
||||
bpl-test list ;
|
||||
|
||||
Reference in New Issue
Block a user