-
Notifications
You must be signed in to change notification settings - Fork 17
/
CMakePresets.json
65 lines (65 loc) · 1.72 KB
/
CMakePresets.json
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 10,
"patch": 0
},
"configurePresets": [
{
"name": "debug",
"displayName": "Debug-Base",
"description": "Debug Config including tests.",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"LLVM_ROOT": "$env{LLVM_ROOT}",
"Clang_ROOT": "$env{LLVM_ROOT}",
"MRDOCS_BUILD_TESTS": "ON",
"VCPKG_MANIFEST_FEATURES": "tests"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Linux",
"macOS"
],
"intelliSenseMode": "windows-msvc-x64"
}
}
},
{
"name": "release",
"inherits": "debug",
"displayName": "Release-Base",
"description": "Release Config including tests.",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "relwithdebinfo",
"inherits": "release",
"displayName": "RelWithDebInfo-Base",
"description": "RelWithDebInfo Config including tests.",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "dist",
"inherits": "release",
"displayName": "Distribution-Base",
"description": "Release Config without Tests.",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"MRDOCS_BUILD_TESTS": "OFF",
"VCPKG_MANIFEST_FEATURES": ""
}
}
]
}