-
Notifications
You must be signed in to change notification settings - Fork 0
/
jamroot.jam
113 lines (89 loc) · 2.8 KB
/
jamroot.jam
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
using testing ;
#Name this location $(TOP),
path-constant TOP : . ;
##Use the boost-libraries as they came...
path-constant BOOST_ROOT : ./boost/ ;
path-constant BOOST_BASE : ./boost/ ;
alias testing-library
: $(BOOST_BASE)/libs/test/build//boost_prg_exec_monitor
$(BOOST_BASE)/libs/test/build//boost_test_exec_monitor
$(BOOST_BASE)/libs/test/build//boost_unit_test_framework
: <include>$(BOOST_BASE)
<define>BOOST_TEST_DYN_LINK
<toolset>msvc:<link>static ;
alias units-library
: /home/tommy/progs/units/build
: <include>/home/tommy/progs/units/include/ ;
alias threaded-library
: $(BOOST_BASE)/libs/thread/build//boost_thread
: <include>$(BOOST_BASE)
<toolset>msvc:<link>static ;
alias program_options-library
: $(BOOST_BASE)/libs/program_options/build//boost_program_options
: <include>$(BOOST_BASE) <toolset>msvc:<link>static
;
alias filesystem-library
: $(BOOST_BASE)/libs/filesystem/build//boost_filesystem
: <include>$(BOOST_BASE) <toolset>msvc:<link>static
;
alias asio-library
: $(BOOST_BASE)/libs/system/build//boost_system
$(BOOST_BASE)/libs/regex/build//boost_regex
$(BOOST_BASE)/libs/date_time/build
: <include>$(BOOST_BASE) <toolset>msvc:<link>static
;
lib maths-vec-lib
:
: <name>maths_vec <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-complex-lib
:
: <name>maths_complex <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-mat-lib
:
: <name>maths_mat <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-interpolate-lib
:
: <name>maths_interpolate <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-root-finder-lib
:
: <name>maths_root_finder <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-rng-lib
:
: <name>maths_rng <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-integrate-lib
:
: <name>maths_integrate <search>/home/tommy/progs/cpp_maths/lib
;
lib maths-differentiate-lib
:
: <name>maths_differentiate <search>/home/tommy/progs/cpp_maths/lib
;
alias maths-library
: $(TOP)//maths-vec-lib
$(TOP)//maths-mat-lib
$(TOP)//maths-complex-lib
$(TOP)//maths-mat-lib
$(TOP)//maths-rng-lib
$(TOP)//maths-interpolate-lib
$(TOP)//maths-root-finder-lib
/site-config//gsl-library
: <include>/home/tommy/progs/cpp_maths/include
:
: <include>/home/tommy/progs/cpp_maths/include
;
#Name the directory structure
use-project /lib/EnsembleLearning : ./EnsembleLearning-src/build ;
#build libraries
build-project ./EnsembleLearning-src/build ;
#test libraries
build-project ./EnsembleLearning-src/build/test ;
#build app
build-project ./example/ICA/build ;
#docs
build-project ./EnsembleLearning-src/build/docs ;