Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/python/example/Jamroot @ 44

Last change on this file since 44 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1# Copyright David Abrahams 2006. Distributed under the Boost
2# Software License, Version 1.0. (See accompanying
3# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5# Specify the path to the Boost project.  If you move this project,
6# adjust this path to refer to the Boost root directory.
7use-project boost
8  : ../../.. ;
9
10# Set up the project-wide requirements that everything uses the
11# boost_python library from the project whose global ID is
12# /boost/python.
13project
14  : requirements <library>/boost/python//boost_python ;
15
16# Declare the three extension modules.  You can specify multiple
17# source files after the colon separated by spaces.
18python-extension getting_started1 : getting_started1.cpp ;
19python-extension getting_started2 : getting_started2.cpp ;
20python-extension std_pair_ext : std_pair.cpp ;
21
22# A little "rule" (function) to clean up the syntax of declaring tests
23# of these extension modules.
24local rule run-test ( test-name : sources + )
25{
26    import testing ;
27    testing.make-test run-pyd : $(sources) : : $(test-name) ;
28}
29
30# Declare test targets
31run-test test1 : getting_started1 test_getting_started1.py ;
32run-test test2 : getting_started2 test_getting_started2.py ;
33run-test test3 : std_pair_ext test_std_pair.py ;
34
35# A target that runs all the tests
36alias test : test1 test2 test3 ;
37
38# Only run tests when explicitly requested
39explicit test test1 test2 test3 ;
40
Note: See TracBrowser for help on using the repository browser.