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",
"inherits": "linux-clang",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
"CMAKE_BUILD_TYPE": "Debug",
"MAPNIK_DEBUG": "ON"
}
},
{
@ -50,7 +51,8 @@
"displayName": "Linux gcc debug",
"inherits": "linux-gcc",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
"CMAKE_BUILD_TYPE": "Debug",
"MAPNIK_DEBUG": "ON"
}
},
{
@ -64,6 +66,7 @@
{
"name": "windows-default",
"displayName": "Windows x64 Debug",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": {
@ -75,9 +78,9 @@
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
"CMAKE_CXX_COMPILER": "cl",
"MAPNIK_DEBUG": "ON"
},
"vendor": {
"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",
"displayName": "Windows x64 Release",