-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
57 lines (57 loc) · 1.48 KB
/
CMakePresets.json
File metadata and controls
57 lines (57 loc) · 1.48 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 12,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/x64/${presetName}/build",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "YES",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "${sourceDir}/x64/${presetName}",
"CMAKE_LIBRARY_OUTPUT_DIRECTORY": "${sourceDir}/x64/${presetName}",
"CMAKE_ARCHIVE_OUTPUT_DIRECTORY": "${sourceDir}/x64/${presetName}",
"CMAKE_OBJECT_DIRECTORY": "${sourceDir}/x64/${presetName}/build/CMakeFiles",
"CMAKE_OBJECT_PATH_MAX": "260"
}
},
{
"name": "debug",
"inherits": "default",
"description": "Debug Configuration with multi-process.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS_DEBUG": "-DDEBUG",
"CMAKE_JOB_POOLS": "link=1",
"CMAKE_JOB_POOL_LINK": "link"
}
},
{
"name": "release",
"inherits": "default",
"description": "Release Configuration with multi-process.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_FLAGS_RELEASE": "-DNDEBUG"
}
}
],
"buildPresets": [
{
"name": "Debug",
"configurePreset": "debug",
"jobs": 4,
"cleanFirst": true
},
{
"name": "Release",
"configurePreset": "release",
"cleanFirst": true
}
]
}