Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
74 lines (74 loc) · 3.3 KB
/
Copy pathCMakePresets.json
File metadata and controls
74 lines (74 loc) · 3.3 KB
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
{
"version": 6,
"configurePresets": [
{
"name": "windows-msvc",
"displayName": "Windows x64 (MSVC toolset)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": { "value": "x64", "strategy": "set" }
},
{
"name": "windows-clang-cl",
"displayName": "Windows x64 (clang-cl toolset, matches the vcxproj)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": { "value": "x64", "strategy": "set" },
"toolset": { "value": "ClangCL", "strategy": "set" }
},
{
"name": "windows-shipping",
"displayName": "Windows x64 shipping (harness + profiling compiled out, exceptions off)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": { "value": "x64", "strategy": "set" },
"toolset": { "value": "ClangCL", "strategy": "set" },
"cacheVariables": {
"TS_SAFETY_CHECKS": "OFF",
"TS_PROFILING": "OFF",
"MACRAME_NO_EXCEPTIONS": "ON"
}
},
{
"name": "linux-clang",
"displayName": "Linux (clang, plain stress driver)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"TS_TSAN": "OFF"
}
},
{
"name": "linux-gcc",
"displayName": "Linux (GCC)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"TS_TSAN": "OFF"
}
},
{
"name": "linux-tsan",
"displayName": "Linux (clang + ThreadSanitizer stress driver)",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"TS_TSAN": "ON"
}
}
],
"buildPresets": [
{ "name": "windows-msvc", "configurePreset": "windows-msvc", "configuration": "Release" },
{ "name": "windows-msvc-debug", "configurePreset": "windows-msvc", "configuration": "Debug" },
{ "name": "windows-clang-cl", "configurePreset": "windows-clang-cl", "configuration": "Release" },
{ "name": "windows-shipping", "configurePreset": "windows-shipping", "configuration": "Release" },
{ "name": "linux-clang", "configurePreset": "linux-clang" },
{ "name": "linux-gcc", "configurePreset": "linux-gcc" },
{ "name": "linux-tsan", "configurePreset": "linux-tsan" }
]
}