add MAPNIK_DEBUG when using the mapnik debug configuration

This commit is contained in:
Mathis Logemann 2021-07-22 22:54:22 +02:00
parent 28d286ecb8
commit 1f6a794b43

View file

@ -24,7 +24,8 @@
"displayName": "Linux clang debug", "displayName": "Linux clang debug",
"inherits": "linux-clang", "inherits": "linux-clang",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug" "CMAKE_BUILD_TYPE": "Debug",
"MAPNIK_DEBUG": "ON"
} }
}, },
{ {
@ -50,7 +51,8 @@
"displayName": "Linux gcc debug", "displayName": "Linux gcc debug",
"inherits": "linux-gcc", "inherits": "linux-gcc",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug" "CMAKE_BUILD_TYPE": "Debug",
"MAPNIK_DEBUG": "ON"
} }
}, },
{ {
@ -64,6 +66,7 @@
{ {
"name": "windows-default", "name": "windows-default",
"displayName": "Windows x64 Debug", "displayName": "Windows x64 Debug",
"hidden": true,
"generator": "Ninja", "generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}", "binaryDir": "${sourceDir}/build/${presetName}",
"architecture": { "architecture": {
@ -75,9 +78,9 @@
"strategy": "external" "strategy": "external"
}, },
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "cl", "CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl" "CMAKE_CXX_COMPILER": "cl",
"MAPNIK_DEBUG": "ON"
}, },
"vendor": { "vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": { "microsoft.com/VisualStudioSettings/CMake/1.0": {
@ -87,6 +90,14 @@
} }
} }
}, },
{
"name": "windows-default-debug",
"displayName": "Windows x64 Debug",
"inherits": "windows-default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{ {
"name": "windows-default-release", "name": "windows-default-release",
"displayName": "Windows x64 Release", "displayName": "Windows x64 Release",