Improve build (CMake)

This commit is contained in:
Attila Body 2025-06-01 20:28:13 +02:00
parent 5ee5c5cb2e
commit 9fc63b3e00
Signed by: abody
GPG key ID: BD0C6214E68FB5CF
3 changed files with 23 additions and 9 deletions

View file

@ -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
},