GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove BBv1 for good · DanielaE/boost.python@d8c3ff1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • example
    • Jamfile.v2
    • Jamfile
    • Jamroot
    • Jamrules
    • README
    • boost-build.jam
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎example/Jamfile‎

Copy file name to clipboardExpand all lines: example/Jamfile
-82Lines changed: 0 additions & 82 deletions
This file was deleted.
Collapse file

‎example/Jamfile.v2‎

Copy file name to clipboardExpand all lines: example/Jamfile.v2
-36Lines changed: 0 additions & 36 deletions
This file was deleted.
Collapse file

‎example/Jamroot‎

Copy file name to clipboard
+40Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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.
7+
use-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.
13+
project
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.
18+
python-extension getting_started1 : getting_started1.cpp ;
19+
python-extension getting_started2 : getting_started2.cpp ;
20+
python-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.
24+
local 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
31+
run-test test1 : getting_started1 test_getting_started1.py ;
32+
run-test test2 : getting_started2 test_getting_started2.py ;
33+
run-test test3 : std_pair_ext test_std_pair.py ;
34+
35+
# A target that runs all the tests
36+
alias test : test1 test2 test3 ;
37+
38+
# Don't run tests by default
39+
explicit test test1 test2 test3 ;
40+
Collapse file

‎example/Jamrules‎

Copy file name to clipboardExpand all lines: example/Jamrules
-36Lines changed: 0 additions & 36 deletions
This file was deleted.
Collapse file

‎example/README‎

Copy file name to clipboardExpand all lines: example/README
+6-13Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,14 @@
33
.. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44

55
To get started with the Boost Python Library, use the examples
6-
getting_started1.cpp and getting_started2.cpp.
6+
getting_started1.cpp and getting_started2.cpp. Invoking
77

8-
bjam -sTOOLS=your-toolset test
8+
bjam --toolset=your-toolset test
99

10-
in this directory will build and run the examples.
11-
12-
Other configuration variables may need to be set as described in
13-
http://www.boost.org/libs/python/doc/building.html. These can be
14-
supplied by the environment, on the command-line with
15-
16-
-sVARIABLENAME=value
17-
18-
or in the local Jamrules file.
10+
in this directory will build and run the examples. See
11+
http://www.boost.org/more/getting_started.html for details about the
12+
--toolset= option.
1913

2014
If you move this example from its place in the Boost development tree
21-
you'll need to edit at least one line in Jamrules and one line in
15+
you'll need to edit the two lines indicated in Jamroot and
2216
boost-build.jam.
23-
Collapse file

‎example/boost-build.jam‎

Copy file name to clipboardExpand all lines: example/boost-build.jam
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
# Edit this path to point at the tools/build/v1 subdirectory of your
66
# Boost installation. Absolute paths work, too.
7-
boost-build ../../../tools/build/v1 ;
7+
boost-build ../../../tools/build/v2 ;

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.