-
Notifications
You must be signed in to change notification settings - Fork 35
/
CMakePresets.json
40 lines (40 loc) · 998 Bytes
/
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "release",
"displayName": "Release build",
"description": "Use this preset when building mkpsxiso for local installation.",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE": "Release"
}
},
{
"name": "debug",
"displayName": "Debug configuration",
"description": "Use this preset when debugging mkpsxiso.",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": "Debug"
}
},
{
"name": "ci",
"displayName": "CI build",
"description": "This preset is used by GitHub Actions to build mkpsxiso.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/../build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
]
}