-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jamroot
84 lines (65 loc) · 3.28 KB
/
Jamroot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# (c) Copyright 2012 Felipe Magno de Almeida
#
# 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 testing ;
import modules ;
path-constant here : . ;
local search_path = [ modules.peek : BOOST_BUILD_PATH ] ;
search_path += $(here)/tools ;
modules.poke : BOOST_BUILD_PATH : $(search_path) ;
import path ;
import java : java-class jar ;
project javabind : build-dir bin ;
alias javabind : /boost//headers /jvm//jvm /boost//filesystem
: <include>include
: : <include>include
;
explicit javabind ;
alias compile-tests : tests//compile-tests ;
explicit compile-tests ;
alias runtime-tests : tests//runtime-tests ;
explicit runtime-tests ;
alias tests//tests ;
explicit tests ;
exe hello_world_demo : demo/hello_world/hello_world.cpp /javabind//javabind ;
explicit hello_world_demo ;
exe inheritance_demo : demo/inheritance/inheritance.cpp /javabind//javabind ;
explicit inheritance_demo ;
exe cpp_bind_demo : demo/cpp_bind/cpp_bind.cpp /javabind//javabind ;
explicit cpp_bind_demo ;
java-class CppBindHelloWorld : demo/cpp_bind/CppBindHelloWorld.java ;
explicit CppBindHelloWorld ;
exe manually_calling_demo : demo/manually_calling/manually_calling.cpp /javabind//javabind ;
explicit manually_calling_demo ;
java-class ManuallyCallingHelloWorld : demo/manually_calling/ManuallyCallingHelloWorld.java ;
explicit ManuallyCallingHelloWorld ;
exe manually_attribute_demo : demo/manually_attribute/manually_attribute.cpp /javabind//javabind ;
explicit manually_attribute_demo ;
java-class ManuallyAttribute : demo/manually_attribute/ManuallyAttribute.java ;
explicit ManuallyAttribute ;
lib cpp_library_demo : demo/cpp_library/cpp_library.cpp /javabind//javabind ;
explicit cpp_library_demo ;
java-class CallingCppLibrary : demo/cpp_library/CallingCppLibrary.java ;
explicit CallingCppLibrary ;
exe bind_function_demo : demo/bind_function/bind_function.cpp /javabind//javabind ;
explicit bind_function_demo ;
java-class BindFunctionHelloWorld : demo/bind_function/BindFunctionHelloWorld.java ;
explicit BindFunctionHelloWorld ;
exe bind_class_demo : demo/bind_class/bind_class.cpp /javabind//javabind
: <define>FUSION_MAX_VECTOR_SIZE=20 ;
explicit bind_class_demo ;
install hello_world_demo_install : hello_world_demo : <location>stage-demo/hello_world ;
install cpp_bind_demo_install : cpp_bind_demo CppBindHelloWorld : <location>stage-demo/cpp_bind ;
install manually_calling_demo_install : manually_calling_demo ManuallyCallingHelloWorld : <location>stage-demo/manually_calling ;
install manually_attribute_demo_install : manually_attribute_demo ManuallyAttribute : <location>stage-demo/manually_attribute ;
install cpp_library_demo_install : cpp_library_demo CallingCppLibrary : <location>stage-demo/cpp_library ;
install bind_function_demo_install : bind_function_demo BindFunctionHelloWorld : <location>stage-demo/bind_function ;
install bind_class_demo_install : bind_class_demo : <location>stage-demo/bind_class ;
install inheritance_install : inheritance_demo : <location>stage-demo/inheritance ;
alias stage-demo : hello_world_demo_install cpp_bind_demo_install
manually_calling_demo_install manually_attribute_demo_install cpp_library_demo_install
bind_function_demo_install bind_class_demo_install
inheritance_install
;