Add Cmake debug configurations and presets
Some checks failed
Build and Test / build-and-test (push) Has been cancelled
Some checks failed
Build and Test / build-and-test (push) Has been cancelled
This commit is contained in:
parent
68992c77f5
commit
9825c0d14d
2 changed files with 50 additions and 0 deletions
31
CMakePresets.json
Normal file
31
CMakePresets.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "debug",
|
||||
"displayName": "Debug Build",
|
||||
"binaryDir": "${sourceDir}/Debug",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"displayName": "Release Build",
|
||||
"binaryDir": "${sourceDir}/Release",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "debug",
|
||||
"configurePreset": "debug"
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"configurePreset": "release"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue