summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/python/example/numpy/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/python/example/numpy/Jamfile')
-rw-r--r--src/boost/libs/python/example/numpy/Jamfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/boost/libs/python/example/numpy/Jamfile b/src/boost/libs/python/example/numpy/Jamfile
new file mode 100644
index 000000000..ac70a6ff0
--- /dev/null
+++ b/src/boost/libs/python/example/numpy/Jamfile
@@ -0,0 +1,29 @@
+# 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 ;