-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathJamroot
More file actions
37 lines (34 loc) · 840 Bytes
/
Jamroot
File metadata and controls
37 lines (34 loc) · 840 Bytes
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
project
:
requirements
<include>./include <threading>multi
#<toolset>gcc:<cxxflags>-Wextra
<toolset>gcc:<cxxflags>-std=c++11
#<toolset>clang:<cxxflags>-Weverything
<toolset>clang:<cxxflags>-std=c++11
<toolset>clang:<cxxflags>-fcolor-diagnostics
#<conditional>@cpp11-rule
:
default-build
<link>static
<variant>release
<warnings>all
:
build-dir ./build
;
install stage
: test
src
:
<variant>release:<location>./bin/release/
<variant>debug:<location>./bin/debug/
<install-dependencies>on <install-type>EXE <install-type>LIB
;
rule cpp11-rule ( properties * ) {
local result ;
if <toolset>gcc in $(properties) || <toolset>clang in $(properties) {
result += <cxxflags>-std=c++11 ;
result += <linkflags>-std=c++11 ;
}
return $(result) ;
}