-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamroot.jam
53 lines (43 loc) · 1 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
import testing ;
import package ;
import os ;
using gcc : : [ os.environ CXX ] ;
path-constant me : . ;
variant coverage : debug ;
project
: requirements
<cxxstd>17
<visibility>hidden
<linkflags>"-Wl,-z,defs,--warn-once"
<variant>release:<linkflags>"-Wl,--gc-sections"
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
<variant>coverage:<coverage>on
;
lib boost_unit_test_framework ;
lib boost_program_options ;
lib stdc++fs ;
lib simplify-core : filter.cpp filterOptions.cpp :
<library>stdc++fs
: :
<library>stdc++fs
;
exe simplify : main.cpp :
<library>boost_program_options
<library>simplify-core
;
exe simplifind : find.cpp :
<library>boost_program_options
<library>simplify-core
;
run test.cpp : :
fixtures/expected1
fixtures/expected1exclude
fixtures/input1
:
<define>BOOST_TEST_DYN_LINK
<define>ROOT=\"$(me)\"
<library>boost_unit_test_framework
<library>simplify-core
: testSimplify ;
package.install install : : simplify simplifind ;