]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/example/Jamroot
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / python / example / Jamroot
1 # Copyright Stefan Seefeld 2016.
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at
4 # http://www.boost.org/LICENSE_1_0.txt)
5
6 import python ;
7
8 if ! [ python.configured ]
9 {
10 ECHO "warning: no Python configured in user-config.jam" ;
11 ECHO "warning: will use default configuration" ;
12 using python ;
13 }
14
15 # Adjust the following if Boost.Python isn't installed in a default location
16 lib boost_python ;
17
18 project
19 : requirements
20 # <include>/path/to/boost/python
21 <library>boost_python
22 ;
23
24 rule run-test ( test-name : sources + )
25 {
26 import testing ;
27 testing.make-test run-pyd : $(sources) : : $(test-name) ;
28 }
29
30 build-project quickstart ;
31 build-project tutorial ;
32 if [ python.numpy ]
33 {
34 build-project numpy ;
35 }