2021-07-22 22:45:39 +02:00
|
|
|
{
|
|
|
|
"version": 2,
|
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
"major": 3,
|
|
|
|
"minor": 20,
|
|
|
|
"patch": 0
|
|
|
|
},
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
2021-08-25 16:41:57 +02:00
|
|
|
"name": "use-ninja",
|
|
|
|
"hidden": true,
|
|
|
|
"generator": "Ninja"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "default-build-dir",
|
|
|
|
"hidden": true,
|
2021-10-21 18:22:53 +02:00
|
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
|
|
|
}
|
2021-08-25 16:41:57 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "debug-build",
|
2021-07-22 22:45:39 +02:00
|
|
|
"hidden": true,
|
2021-08-25 16:41:57 +02:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"USE_DEBUG_OUTPUT": "ON",
|
|
|
|
"USE_LOG": "ON",
|
|
|
|
"USE_LOG_SEVERITY": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "release-build",
|
|
|
|
"hidden": true,
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
"USE_DEBUG_OUTPUT": "OFF",
|
|
|
|
"USE_LOG": "OFF"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "use-clang",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": [
|
|
|
|
"default-build-dir",
|
|
|
|
"use-ninja"
|
|
|
|
],
|
2021-07-22 22:45:39 +02:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_C_COMPILER": "clang",
|
|
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
2021-07-23 19:34:17 +02:00
|
|
|
"CMAKE_CXX_FLAGS": "-stdlib=libc++",
|
|
|
|
"CMAKE_EXE_LINKER_FLAGS": "-stdlib=libc++",
|
|
|
|
"CMAKE_SHARED_LINKER_FLAGS": "-stdlib=libc++"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2021-08-25 16:41:57 +02:00
|
|
|
"name": "use-gcc",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": [
|
|
|
|
"default-build-dir",
|
|
|
|
"use-ninja"
|
|
|
|
],
|
2021-07-22 22:45:39 +02:00
|
|
|
"cacheVariables": {
|
2021-08-25 16:41:57 +02:00
|
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
|
|
"CMAKE_CXX_COMPILER": "g++"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2021-08-25 16:41:57 +02:00
|
|
|
"name": "use-msvc-cl",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": [
|
|
|
|
"default-build-dir",
|
|
|
|
"use-ninja"
|
|
|
|
],
|
2021-07-22 22:45:39 +02:00
|
|
|
"cacheVariables": {
|
2021-08-25 16:41:57 +02:00
|
|
|
"CMAKE_C_COMPILER": "cl",
|
|
|
|
"CMAKE_CXX_COMPILER": "cl"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2021-08-25 16:41:57 +02:00
|
|
|
"name": "use-msvc-clang-cl",
|
2021-07-22 22:45:39 +02:00
|
|
|
"hidden": true,
|
2021-08-25 16:41:57 +02:00
|
|
|
"inherits": [
|
|
|
|
"default-build-dir",
|
|
|
|
"use-ninja"
|
|
|
|
],
|
2021-07-22 22:45:39 +02:00
|
|
|
"cacheVariables": {
|
2021-08-25 16:41:57 +02:00
|
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
|
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
},
|
2021-08-25 16:41:57 +02:00
|
|
|
{
|
|
|
|
"name": "linux-clang-debug",
|
|
|
|
"displayName": "Linux clang debug",
|
|
|
|
"inherits": [
|
|
|
|
"use-clang",
|
|
|
|
"debug-build"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "linux-clang-release",
|
|
|
|
"displayName": "Linux clang release",
|
|
|
|
"inherits": [
|
|
|
|
"use-clang",
|
|
|
|
"release-build"
|
|
|
|
]
|
|
|
|
},
|
2021-07-22 22:45:39 +02:00
|
|
|
{
|
|
|
|
"name": "linux-gcc-debug",
|
|
|
|
"displayName": "Linux gcc debug",
|
2021-08-25 16:41:57 +02:00
|
|
|
"inherits": [
|
|
|
|
"use-gcc",
|
|
|
|
"debug-build"
|
|
|
|
]
|
2021-07-22 22:45:39 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "linux-gcc-release",
|
|
|
|
"displayName": "Linux gcc release",
|
2021-08-25 16:41:57 +02:00
|
|
|
"inherits": [
|
|
|
|
"use-gcc",
|
|
|
|
"release-build"
|
|
|
|
]
|
2021-07-22 22:45:39 +02:00
|
|
|
},
|
|
|
|
{
|
2021-08-25 16:41:57 +02:00
|
|
|
"name": "windows-arch-x64",
|
2021-07-22 22:54:22 +02:00
|
|
|
"hidden": true,
|
2021-07-22 22:45:39 +02:00
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"toolset": {
|
|
|
|
"value": "host=x64",
|
|
|
|
"strategy": "external"
|
2021-08-25 16:41:57 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "windows-default",
|
|
|
|
"displayName": "Windows x64 Debug",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": [
|
|
|
|
"use-msvc-cl",
|
|
|
|
"windows-arch-x64"
|
|
|
|
],
|
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
|
|
|
{
|
2021-11-15 10:39:40 +01:00
|
|
|
"name": "windows-debug",
|
2021-07-22 22:54:22 +02:00
|
|
|
"displayName": "Windows x64 Debug",
|
2021-08-25 16:41:57 +02:00
|
|
|
"inherits": [
|
|
|
|
"windows-default",
|
|
|
|
"debug-build"
|
|
|
|
]
|
2021-07-22 22:54:22 +02:00
|
|
|
},
|
2021-07-22 22:45:39 +02:00
|
|
|
{
|
2021-11-15 10:39:40 +01:00
|
|
|
"name": "windows-release",
|
2021-07-22 22:45:39 +02:00
|
|
|
"displayName": "Windows x64 Release",
|
2021-08-25 16:41:57 +02:00
|
|
|
"inherits": [
|
|
|
|
"windows-default",
|
|
|
|
"release-build"
|
|
|
|
]
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"buildPresets": [
|
|
|
|
{
|
2021-11-15 10:39:40 +01:00
|
|
|
"name": "windows-debug",
|
|
|
|
"configurePreset": "windows-debug"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "windows-release",
|
|
|
|
"configurePreset": "windows-release"
|
2021-07-23 16:41:28 +02:00
|
|
|
},
|
|
|
|
{
|
2021-11-15 10:39:40 +01:00
|
|
|
"name": "linux-clang-debug",
|
2021-07-23 16:41:28 +02:00
|
|
|
"configurePreset": "linux-clang-debug"
|
2021-11-15 10:39:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "linux-clang-release",
|
|
|
|
"configurePreset": "linux-clang-release"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "linux-gcc-debug",
|
|
|
|
"configurePreset": "linux-gcc-debug"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "linux-gcc-release",
|
|
|
|
"configurePreset": "linux-gcc-release"
|
2021-07-22 22:45:39 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|