{ "version": 2, "cmakeMinimumRequired": { "major": 3, "minor": 20, "patch": 0 }, "configurePresets": [ { "name": "linux-clang", "displayName": "Linux clang", "hidden": true, "binaryDir": "${sourceDir}/build/${presetName}", "cacheVariables": { "CMAKE_C_COMPILER": "clang", "CMAKE_CXX_COMPILER": "clang++", "CMAKE_CXX_FLAGS": "-stdlib=libstdc++", "CMAKE_EXE_LINKER_FLAGS": "-stdlib=libstdc++", "CMAKE_SHARED_LINKER_FLAGS": "-stdlib=libstdc++" } }, { "name": "linux-clang-debug", "displayName": "Linux clang debug", "inherits": "linux-clang", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "MAPNIK_DEBUG": "ON" } }, { "name": "linux-clang-release", "displayName": "Linux clang release", "inherits": "linux-clang", "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } }, { "name": "linux-gcc", "displayName": "Linux gcc", "hidden": true, "binaryDir": "${sourceDir}/build/${presetName}", "cacheVariables": { "CMAKE_C_COMPILER": "gcc", "CMAKE_CXX_COMPILER": "g++" } }, { "name": "linux-gcc-debug", "displayName": "Linux gcc debug", "inherits": "linux-gcc", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "MAPNIK_DEBUG": "ON" } }, { "name": "linux-gcc-release", "displayName": "Linux gcc release", "inherits": "linux-gcc", "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } }, { "name": "windows-default", "displayName": "Windows x64 Debug", "hidden": true, "generator": "Ninja", "binaryDir": "${sourceDir}/build/${presetName}", "architecture": { "value": "x64", "strategy": "external" }, "toolset": { "value": "host=x64", "strategy": "external" }, "cacheVariables": { "CMAKE_C_COMPILER": "cl", "CMAKE_CXX_COMPILER": "cl", "MAPNIK_DEBUG": "ON" }, "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } }, { "name": "windows-default-debug", "displayName": "Windows x64 Debug", "inherits": "windows-default", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "windows-default-release", "displayName": "Windows x64 Release", "inherits": "windows-default", "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } } ], "buildPresets": [ { "name": "default", "configurePreset": "default" } ] }