-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmake-variants.yaml
80 lines (79 loc) · 1.81 KB
/
cmake-variants.yaml
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
buildType:
default: debug
choices:
debug:
short: Debug
long: Emit debug information without performing optimizations
buildType: Debug
settings:
PROFILE: ON
BUILD_EXAMPLES: ON
BUILD_TESTS: ON
relWithDebInfo:
short: RelWithDebInfo
long: Perform optimizations AND include debug info
buildType: RelWithDebInfo
settings:
PROFILE: ON
BUILD_EXAMPLES: ON
BUILD_TESTS: ON
profile:
short: Profile
long: Optimize generated code, omit debug info but include profile trace options
buildType: Release
settings:
PROFILE: ON
BUILD_EXAMPLES: ON
BUILD_TESTS: ON
release:
short: Release
long: Optimize generated code, omit debug info
buildType: Release
settings:
BUILD_EXAMPLES: ON
BUILD_TESTS: OFF
minSizeRel:
short: MinSizeRel
long: Optimize for smallest binary size
buildType: MinSizeRel
settings:
BUILD_EXAMPLES: OFF
BUILD_TESTS: OFF
useSAN:
default: 'ausan'
choices:
'asan':
short: Asan
long: Enable Address Sanitizer
settings:
SANITIZE: ON
ASAN: ON
'ausan':
short: AUsan
long: Enable Address + Undefined Behavior Sanitizer
settings:
SANITIZE: ON
AUSAN: ON
'tsan':
short: Tsan
long: Enable Thread Sanitizer
settings:
SANITIZE: ON
TSAN: ON
'msan':
short: Msan
long: Enable Memory Sanitizer
settings:
SANITIZE: ON
MSAN: ON
'usan':
short: Usan
long: Enable Undefined Behavior Sanitizer
settings:
SANITIZE: ON
USAN: ON
'no':
short: NoAsan
long: Disable Address Sanitizer
settings:
SANITIZE: OFF