-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jamroot.jam
71 lines (59 loc) · 1.52 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
import os ;
local boost = [ os.environ BOOST_ROOT ] ;
local disposer = ../disposer ;
local io_tools = ../io_tools ;
local logsys = ../logsys ;
local cxxopts = ../cxxopts ;
use-project /boost
: $(boost)
;
use-project /logsys
: $(logsys)
;
use-project /disposer
: $(disposer)
;
project disposer-cli
:
source-location src
:
requirements <include>include
<warnings>all
<c++-template-depth>1024
<define>BOOST_HANA_CONFIG_ENABLE_STRING_UDL
<define>BOOST_ASIO_HAS_STD_CHRONO
<toolset>gcc:<cxxflags>-std=gnu++1z
<toolset>gcc:<cxxflags>-fconstexpr-depth=1024
<toolset>gcc:<cxxflags>-fvisibility=hidden
<toolset>gcc:<cxxflags>-Wno-parentheses
<toolset>gcc:<linkflags>-lpthread
<toolset>gcc:<linkflags>-ldl
<toolset>clang:<cxxflags>-std=c++1z
<toolset>clang:<cxxflags>-fconstexpr-depth=1024
<toolset>clang:<cxxflags>-fvisibility=hidden
<toolset>clang:<cxxflags>-stdlib=libc++
<toolset>clang:<cxxflags>-Wno-gnu-string-literal-operator-template
<toolset>clang:<variant>debug:<cxxflags>-fstandalone-debug
<toolset>clang:<variant>debug:<cxxflags>-fno-limit-debug-info
<toolset>clang:<variant>debug:<define>_LIBCPP_DEBUG
<toolset>clang:<linkflags>-lpthread
<toolset>clang:<linkflags>-ldl
<toolset>clang:<linkflags>-lc++abi
<toolset>clang:<linkflags>-stdlib=libc++
<include>$(boost)
<include>$(io_tools)/include
<include>$(logsys)/include
:
usage-requirements <include>include
;
exe disposer-cli
:
main.cpp
log.cpp
/logsys//logsys
/disposer//disposer
/boost//system
/boost//filesystem
:
<include>$(cxxopts)/include
;