30 lines
814 B
Plaintext
30 lines
814 B
Plaintext
# Copyright Stefan Seefeld 2016.
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import python ;
|
|
|
|
# Adjust the following if Boost.Python isn't installed in a default location
|
|
lib boost_numpy
|
|
:
|
|
: <search>/usr/local/Boost/lib
|
|
<include>/usr/local/Boost/include
|
|
;
|
|
|
|
project numpy
|
|
: requirements
|
|
<include>/usr/local/Boost/include
|
|
<library>boost_numpy
|
|
<location>.
|
|
;
|
|
|
|
exe simple : simple.cpp boost_numpy /python//python ;
|
|
exe dtype : dtype.cpp boost_numpy /python//python ;
|
|
exe ndarray : ndarray.cpp /python//python ;
|
|
exe fromdata : fromdata.cpp /python//python ;
|
|
exe ufunc : ufunc.cpp /python//python ;
|
|
exe wrap : wrap.cpp /python//python ;
|
|
|
|
python-extension gaussian : gaussian.cpp ;
|