-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathCMakePresets.json
More file actions
74 lines (74 loc) · 2.04 KB
/
CMakePresets.json
File metadata and controls
74 lines (74 loc) · 2.04 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": 3,
"vendor": {
"conan": {}
},
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "Base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
"CMAKE_CXX_STANDARD": "17",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "cmake/conan_provider.cmake",
"CONAN_HOST_PROFILE": "auto-cmake",
"CONAN_BUILD_PROFILE": "conan_host_profile"
}
},
{
"name": "Config",
"inherits": "Release",
"displayName": "Config build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_CLANG_FORMAT": "ON"
}
},
{
"name": "Debug",
"inherits": "Base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "DebugCXX20",
"inherits": "Base",
"cacheVariables": {
"CMAKE_CXX_STANDARD": "20",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "RelWithDebInfo",
"inherits": "Base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "Release",
"inherits": "Base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_SCC_DOCUMENTATION": "ON"
}
}
],
"testPresets": [
{
"name": "test-all",
"description": "run all test with Debug build",
"displayName": "",
"configurePreset": "Debug"
}
]
}