Skip to content

Commit cae31b5

Browse files
committed
Make extension copied to current directory, for convenient testing
[SVN r65638]
1 parent 76af2cf commit cae31b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

example/tutorial/Jamroot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ project
2626
# source files after the colon separated by spaces.
2727
python-extension hello_ext : hello.cpp ;
2828

29+
# Put the extension and Boost.Python DLL in the current directory, so
30+
# that running script by hand works.
31+
install convenient_copy
32+
: hello_ext
33+
: <install-dependencies>on <install-type>SHARED_LIB <install-type>PYTHON_EXTENSION
34+
<location>.
35+
;
36+
2937
# A little "rule" (function) to clean up the syntax of declaring tests
3038
# of these extension modules.
3139
local rule run-test ( test-name : sources + )

0 commit comments

Comments
 (0)