-
Notifications
You must be signed in to change notification settings - Fork 1
/
local-build.rb.example
38 lines (32 loc) · 1.25 KB
/
local-build.rb.example
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
MxxRu::Cpp::composite_target do
global_include_path './fmt/include'
if 'gcc' == toolset.name
global_compiler_option '-Wall'
global_compiler_option '-Wextra'
global_compiler_option '-Wpedantic'
global_compiler_option '-Wno-unused-function'
if MxxRu::Cpp::RUNTIME_DEBUG == mxx_runtime_mode
global_compiler_option '-fsanitize=address'
global_compiler_option '-fno-omit-frame-pointer'
global_linker_option '-fsanitize=address'
end
end
if 'clang' == toolset.name
global_compiler_option '-Wall'
global_compiler_option '-Wextra'
global_compiler_option '-Wpedantic'
global_compiler_option '-Weverything'
global_compiler_option '-Wno-padded'
global_compiler_option '-Wno-unused-function'
global_compiler_option '-Wno-c++98-compat'
global_compiler_option '-Wno-c++98-compat-pedantic'
global_compiler_option '-Wno-shadow-uncaptured-local'
global_compiler_option '-Wno-weak-vtables'
global_compiler_option '-Wno-missing-prototypes'
global_compiler_option '-Wno-ctad-maybe-unsupported'
end
global_obj_placement MxxRu::Cpp::PrjAwareRuntimeSubdirObjPlacement.new( 'target' )
default_runtime_mode( MxxRu::Cpp::RUNTIME_RELEASE )
MxxRu::enable_show_brief
end
# vim:ts=2:sts=2:sw=2:expandtab