2021-07-22 22:45:39 +02:00
|
|
|
{
|
|
|
|
"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": {
|
2021-07-22 22:54:22 +02:00
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"MAPNIK_DEBUG": "ON"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": {
|
2021-07-22 22:54:22 +02:00
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"MAPNIK_DEBUG": "ON"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "linux-gcc-release",
|
|
|
|
"displayName": "Linux gcc release",
|
|
|
|
"inherits": "linux-gcc",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "windows-default",
|
|
|
|
"displayName": "Windows x64 Debug",
|
2021-07-22 22:54:22 +02:00
|
|
|
"hidden": true,
|
2021-07-22 22:45:39 +02:00
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"toolset": {
|
|
|
|
"value": "host=x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_C_COMPILER": "cl",
|
2021-07-22 22:56:00 +02:00
|
|
|
"CMAKE_CXX_COMPILER": "cl"
|
2021-07-22 22:45:39 +02:00
|
|
|
},
|
|
|
|
"vendor": {
|
|
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
|
|
"hostOS": [
|
|
|
|
"Windows"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-07-22 22:54:22 +02:00
|
|
|
{
|
|
|
|
"name": "windows-default-debug",
|
|
|
|
"displayName": "Windows x64 Debug",
|
|
|
|
"inherits": "windows-default",
|
|
|
|
"cacheVariables": {
|
2021-07-22 22:56:00 +02:00
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"MAPNIK_DEBUG": "ON"
|
2021-07-22 22:54:22 +02:00
|
|
|
}
|
|
|
|
},
|
2021-07-22 22:45:39 +02:00
|
|
|
{
|
|
|
|
"name": "windows-default-release",
|
|
|
|
"displayName": "Windows x64 Release",
|
|
|
|
"inherits": "windows-default",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"buildPresets": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"configurePreset": "default"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|