-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
46 lines (46 loc) · 1.06 KB
/
CMakePresets.json
File metadata and controls
46 lines (46 loc) · 1.06 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
{
"version": 8,
"configurePresets": [
{
"name": "base",
"description": "Sets build directory and generator",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "cmake/conan_provider.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install"
}
},
{
"name": "debug",
"displayName": "Debug Build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTS": "ON"
},
"inherits": [ "base" ]
},
{
"name": "release",
"displayName": "Release Build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"inherits": [ "base" ]
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug",
"targets": [ "cs2guiserver", "tests" ]
},
{
"name": "release",
"configurePreset": "release",
"targets": [ "cs2guiserver" ]
}
]
}