Skip to content

Commit 4bb1453

Browse files
committed
Presets
1 parent ac5aedc commit 4bb1453

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CMakePresets.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"version": 3,
3+
"configurePresets": [
4+
{
5+
"name": "default-debug",
6+
"displayName": "Default x64 Debug",
7+
"description": "Debug x64 build using the default generator",
8+
"binaryDir": "${sourceDir}/out/build/${presetName}",
9+
"architecture": {
10+
"value": "x64",
11+
"strategy": "external"
12+
},
13+
"cacheVariables": {
14+
"CMAKE_BUILD_TYPE": "Debug",
15+
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
16+
}
17+
},
18+
{
19+
"name": "default-release",
20+
"inherits": "default-debug",
21+
"displayName": "Default x64 Release",
22+
"description": "Release x64 build using the default generator",
23+
"cacheVariables": {
24+
"CMAKE_BUILD_TYPE": "Release"
25+
}
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)