Improve build (CMake)
This commit is contained in:
parent
5ee5c5cb2e
commit
9fc63b3e00
3 changed files with 23 additions and 9 deletions
|
@ -9,7 +9,7 @@
|
|||
{
|
||||
"name": "base",
|
||||
"hidden": true,
|
||||
"generator": "Ninja", // Or "Unix Makefiles", "MinGW Makefiles", etc.
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/build/${presetName}",
|
||||
"cacheVariables": {
|
||||
"CMAKE_CXX_STANDARD": "17",
|
||||
|
@ -22,7 +22,11 @@
|
|||
"displayName": "Debug Build",
|
||||
"inherits": "base",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
"CMAKE_BUILD_TYPE": "Debug",
|
||||
"CMAKE_VERBOSE_MAKEFILE": {
|
||||
"type": "BOOL",
|
||||
"value": "ON"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -52,7 +56,7 @@
|
|||
{
|
||||
"name": "default",
|
||||
"displayName": "Run Tests",
|
||||
"configurePreset": "debug", // Use the debug configuration for running tests
|
||||
"configurePreset": "debug",
|
||||
"output": {
|
||||
"outputOnFailure": true
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue