2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"version": 2,
|
|
|
|
|
"configurePresets": [
|
|
|
|
|
{
|
2022-08-09 13:35:05 +03:00
|
|
|
"name": "release-binary-dir",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}"
|
|
|
|
|
},
|
2022-10-13 13:09:15 +03:00
|
|
|
{
|
|
|
|
|
"name": "build-with-conan",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"cacheVariables": {
|
2025-08-10 12:43:15 +03:00
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/conan-generated/conan_toolchain.cmake"
|
2022-10-13 13:09:15 +03:00
|
|
|
}
|
|
|
|
|
},
|
2022-08-09 13:35:05 +03:00
|
|
|
{
|
|
|
|
|
"name": "base-release",
|
|
|
|
|
"inherits": "release-binary-dir",
|
2022-05-26 08:55:20 +03:00
|
|
|
"hidden": true,
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
|
|
|
"PACKAGE_FILE_NAME" : "$env{VCMI_PACKAGE_FILE_NAME}",
|
|
|
|
|
"PACKAGE_NAME_SUFFIX" : "$env{VCMI_PACKAGE_NAME_SUFFIX}",
|
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
2022-12-23 12:10:05 +04:00
|
|
|
"ENABLE_TEST": "OFF",
|
2022-12-30 14:59:07 +02:00
|
|
|
"ENABLE_STRICT_COMPILATION": "ON",
|
2024-04-25 18:52:25 +03:00
|
|
|
"ENABLE_GOLDMASTER": "$env{VCMI_PACKAGE_GOLDMASTER}",
|
2023-09-29 23:55:12 +02:00
|
|
|
"ENABLE_PCH" : "OFF"
|
2022-05-26 08:55:20 +03:00
|
|
|
}
|
|
|
|
|
},
|
2022-08-09 13:35:05 +03:00
|
|
|
{
|
|
|
|
|
"name": "default-release",
|
|
|
|
|
"inherits": "base-release",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"generator": "Ninja",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"FORCE_BUNDLED_FL": "OFF"
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-05-28 14:32:54 +03:00
|
|
|
{
|
|
|
|
|
"name" : "linux-release",
|
|
|
|
|
"inherits" : "default-release",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"cacheVariables": {
|
2025-12-15 02:50:32 +02:00
|
|
|
"CMAKE_INSTALL_PREFIX" : "/usr/local",
|
|
|
|
|
"ONNXRUNTIME_ROOT": "/opt/onnxruntime"
|
2022-05-28 14:32:54 +03:00
|
|
|
}
|
|
|
|
|
},
|
2023-03-01 17:26:59 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-test",
|
|
|
|
|
"inherits": "linux-release",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"cacheVariables": {
|
2024-02-13 22:20:30 +02:00
|
|
|
"ENABLE_LOBBY": "ON",
|
2024-04-22 10:26:05 +03:00
|
|
|
"ENABLE_TEST": "ON",
|
2023-03-01 17:26:59 +03:00
|
|
|
"ENABLE_LUA": "ON"
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-release",
|
|
|
|
|
"displayName": "Clang x86_64-pc-linux-gnu",
|
|
|
|
|
"description": "VCMI Linux Clang",
|
2022-05-28 14:32:54 +03:00
|
|
|
"inherits": "linux-release",
|
2022-05-26 08:55:20 +03:00
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/clang",
|
2026-01-25 03:30:31 +01:00
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
|
|
|
|
|
"ENABLE_DISCORD": "OFF"
|
2022-05-26 08:55:20 +03:00
|
|
|
}
|
|
|
|
|
},
|
2023-12-27 21:14:00 +01:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-release-ccache",
|
|
|
|
|
"displayName": "Clang x86_64-pc-linux-gnu with ccache",
|
|
|
|
|
"description": "VCMI Linux Clang with ccache",
|
|
|
|
|
"inherits": "linux-release",
|
|
|
|
|
"cacheVariables": {
|
2026-01-25 03:30:31 +01:00
|
|
|
"ENABLE_CCACHE": "ON",
|
|
|
|
|
"ENABLE_DISCORD": "OFF"
|
2023-12-27 21:14:00 +01:00
|
|
|
}
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release",
|
|
|
|
|
"displayName": "GCC x86_64-pc-linux-gnu",
|
|
|
|
|
"description": "VCMI Linux GCC",
|
2022-05-28 14:32:54 +03:00
|
|
|
"inherits": "linux-release",
|
2022-05-26 08:55:20 +03:00
|
|
|
"cacheVariables": {
|
2023-07-11 15:30:45 +03:00
|
|
|
"ENABLE_LUA" : "ON",
|
|
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
|
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-02-15 17:34:48 +01:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release-appimage",
|
|
|
|
|
"displayName": "GCC x86_64-pc-linux-gnu for appimage",
|
|
|
|
|
"description": "VCMI Linux GCC",
|
|
|
|
|
"inherits": "linux-release",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
|
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
|
|
|
|
|
"ENABLE_STATIC_LIBS": "ON"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release-arm64-appimage",
|
|
|
|
|
"displayName": "GCC aarch64-linux-gnu for appimage",
|
|
|
|
|
"description": "VCMI Linux GCC ARM64",
|
|
|
|
|
"inherits": "linux-release",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
|
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
|
|
|
|
|
"ENABLE_STATIC_LIBS": "ON"
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-12-27 21:14:00 +01:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release-ccache",
|
|
|
|
|
"displayName": "GCC x86_64-pc-linux-gnu with ccache",
|
|
|
|
|
"description": "VCMI Linux GCC with ccache",
|
|
|
|
|
"inherits": "linux-release",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"ENABLE_CCACHE": "ON"
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-07-11 15:30:45 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-debug",
|
|
|
|
|
"displayName": "GCC x86_64-pc-linux-gnu (debug)",
|
|
|
|
|
"description": "VCMI Linux GCC (Debug)",
|
2025-08-06 13:35:07 +03:00
|
|
|
"inherits": "linux-test",
|
2023-07-11 15:30:45 +03:00
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
2023-04-07 14:52:28 +03:00
|
|
|
"ENABLE_LUA" : "ON",
|
2022-05-26 08:55:20 +03:00
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
|
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-08-06 13:35:07 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-debug",
|
|
|
|
|
"displayName": "Clang x86_64-pc-linux-gnu (debug)",
|
|
|
|
|
"description": "VCMI Linux Clang (Debug)",
|
|
|
|
|
"inherits": "linux-test",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
|
"ENABLE_LUA" : "ON",
|
|
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/clang",
|
2026-01-25 03:30:31 +01:00
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
|
|
|
|
|
"ENABLE_DISCORD": "OFF"
|
2025-08-06 13:35:07 +03:00
|
|
|
}
|
|
|
|
|
},
|
2023-03-01 17:26:59 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-test",
|
|
|
|
|
"displayName": "Clang x86_64-pc-linux-gnu with unit testing",
|
|
|
|
|
"description": "VCMI Linux Clang",
|
|
|
|
|
"inherits": "linux-test",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/clang",
|
2026-01-25 03:30:31 +01:00
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
|
|
|
|
|
"ENABLE_DISCORD": "OFF"
|
2023-03-01 17:26:59 +03:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-test",
|
|
|
|
|
"displayName": "GCC x86_64-pc-linux-gnu with unit testing",
|
|
|
|
|
"description": "VCMI Linux GCC",
|
|
|
|
|
"inherits": "linux-test",
|
|
|
|
|
"cacheVariables": {
|
2023-04-25 20:57:22 +03:00
|
|
|
"ENABLE_LUA" : "OFF",
|
2023-03-01 17:26:59 +03:00
|
|
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
|
|
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-12-30 00:30:08 +01:00
|
|
|
{
|
|
|
|
|
"name": "windows-mingw-release",
|
|
|
|
|
"displayName": "Windows x64 MinGW Release",
|
|
|
|
|
"description": "VCMI Windows Ninja using MinGW",
|
|
|
|
|
"inherits": "default-release",
|
|
|
|
|
"cacheVariables": {
|
2024-11-14 23:26:24 +01:00
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
|
|
|
"CMAKE_CXX_COMPILER": "g++"
|
2023-12-30 00:30:08 +01:00
|
|
|
}
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release",
|
|
|
|
|
"displayName": "Windows x64 RelWithDebInfo",
|
|
|
|
|
"description": "VCMI RelWithDebInfo build",
|
2025-06-11 21:36:18 +03:00
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan",
|
|
|
|
|
"default-release"
|
|
|
|
|
],
|
2022-05-26 08:55:20 +03:00
|
|
|
"generator": "Visual Studio 17 2022",
|
|
|
|
|
"architecture": {
|
|
|
|
|
"value": "x64",
|
|
|
|
|
"strategy": "set"
|
|
|
|
|
},
|
|
|
|
|
"cacheVariables": {
|
2025-08-10 12:43:15 +03:00
|
|
|
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW"
|
2023-10-09 21:48:49 +02:00
|
|
|
}
|
|
|
|
|
},
|
2024-10-27 09:18:21 +00:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release-x86",
|
|
|
|
|
"displayName": "Windows x86 RelWithDebInfo",
|
|
|
|
|
"description": "VCMI RelWithDebInfo build",
|
2025-06-11 21:36:18 +03:00
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan",
|
|
|
|
|
"default-release"
|
|
|
|
|
],
|
2024-10-27 09:18:21 +00:00
|
|
|
"generator": "Visual Studio 17 2022",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
|
|
|
|
|
"CMAKE_GENERATOR_PLATFORM": "WIN32"
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-07-15 19:21:12 +02:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release-arm64",
|
|
|
|
|
"displayName": "Windows ARM64 RelWithDebInfo",
|
|
|
|
|
"description": "VCMI Windows ARM64 build",
|
2025-06-11 21:36:18 +03:00
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan",
|
|
|
|
|
"default-release"
|
|
|
|
|
],
|
2025-07-15 19:21:12 +02:00
|
|
|
"generator": "Visual Studio 17 2022",
|
|
|
|
|
"architecture": {
|
|
|
|
|
"value": "ARM64",
|
|
|
|
|
"strategy": "set"
|
|
|
|
|
},
|
|
|
|
|
"cacheVariables": {
|
2025-08-10 12:43:15 +03:00
|
|
|
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW"
|
2025-07-15 19:21:12 +02:00
|
|
|
}
|
|
|
|
|
},
|
2023-10-09 21:48:49 +02:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release-ccache",
|
|
|
|
|
"displayName": "Windows x64 RelWithDebInfo with ccache",
|
|
|
|
|
"description": "VCMI RelWithDebInfo build with ccache",
|
|
|
|
|
"inherits": "windows-msvc-release",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"ENABLE_CCACHE": "ON"
|
2022-05-26 08:55:20 +03:00
|
|
|
}
|
|
|
|
|
},
|
2025-08-23 19:12:55 +02:00
|
|
|
{
|
2025-06-11 21:36:18 +03:00
|
|
|
"name": "windows-msvc-ninja-release",
|
|
|
|
|
"displayName": "Windows x64 RelWithDebInfo (Ninja)",
|
|
|
|
|
"description": "VCMI RelWithDebInfo build using Ninja + sccache",
|
2023-01-23 00:53:23 +03:00
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan",
|
|
|
|
|
"default-release"
|
|
|
|
|
],
|
2025-06-11 21:36:18 +03:00
|
|
|
"generator": "Ninja",
|
2023-01-23 00:53:23 +03:00
|
|
|
"cacheVariables": {
|
2025-06-11 21:36:18 +03:00
|
|
|
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
|
|
|
|
|
"ENABLE_CCACHE": "ON",
|
|
|
|
|
"CMAKE_C_COMPILER_LAUNCHER": "sccache",
|
|
|
|
|
"CMAKE_CXX_COMPILER_LAUNCHER": "sccache",
|
|
|
|
|
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "Embedded",
|
|
|
|
|
"ENABLE_MULTI_PROCESS_BUILDS": "OFF",
|
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
|
|
|
"CMAKE_C_FLAGS_RELWITHDEBINFO": "/O2 /Ob1 /DNDEBUG /Z7",
|
|
|
|
|
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/O2 /Ob1 /DNDEBUG /Z7"
|
2023-01-23 00:53:23 +03:00
|
|
|
}
|
|
|
|
|
},
|
2025-06-11 21:36:18 +03:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-ninja-release-x86",
|
|
|
|
|
"displayName": "Windows x86 RelWithDebInfo (Ninja)",
|
|
|
|
|
"description": "VCMI RelWithDebInfo build using Ninja + sccache (x86)",
|
|
|
|
|
"inherits": "windows-msvc-ninja-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-ninja-release-arm64",
|
|
|
|
|
"displayName": "Windows ARM64 RelWithDebInfo (Ninja)",
|
|
|
|
|
"description": "VCMI RelWithDebInfo build using Ninja + sccache (ARM64)",
|
|
|
|
|
"inherits": "windows-msvc-ninja-release"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "macos-ninja-release",
|
|
|
|
|
"displayName": "Ninja release",
|
|
|
|
|
"description": "VCMI MacOS Ninja",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2022-08-30 17:29:00 +03:00
|
|
|
{
|
|
|
|
|
"name": "macos-conan-ninja-release",
|
|
|
|
|
"displayName": "Ninja+Conan release",
|
|
|
|
|
"description": "VCMI MacOS Ninja using Conan",
|
2022-10-13 13:09:15 +03:00
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan",
|
|
|
|
|
"default-release"
|
|
|
|
|
],
|
2022-08-30 17:29:00 +03:00
|
|
|
"cacheVariables": {
|
2025-08-30 20:24:01 +02:00
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
2022-08-30 17:29:00 +03:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "macos-arm-conan-ninja-release",
|
|
|
|
|
"displayName": "Ninja+Conan arm64 release",
|
|
|
|
|
"description": "VCMI MacOS-arm64 Ninja using Conan",
|
2022-09-21 17:47:57 +03:00
|
|
|
"inherits": "macos-conan-ninja-release"
|
2022-08-30 17:29:00 +03:00
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "macos-xcode-release",
|
|
|
|
|
"displayName": "XCode release",
|
|
|
|
|
"description": "VCMI MacOS Xcode",
|
|
|
|
|
"inherits": "default-release",
|
|
|
|
|
"generator": "Xcode"
|
2022-08-09 13:35:05 +03:00
|
|
|
},
|
|
|
|
|
{
|
2025-08-28 15:51:26 +03:00
|
|
|
"name": "ios-device-conan",
|
|
|
|
|
"displayName": "Base iOS device using Conan",
|
|
|
|
|
"description": "Base VCMI preset for iOS device using Conan",
|
|
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan"
|
|
|
|
|
],
|
2022-08-09 13:35:05 +03:00
|
|
|
"generator": "Xcode",
|
|
|
|
|
"binaryDir": "../build-${presetName}",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_SYSTEM_NAME": "iOS",
|
|
|
|
|
"FORCE_BUNDLED_FL": "ON",
|
2022-10-08 22:55:15 +04:00
|
|
|
"ENABLE_EDITOR" : "OFF"
|
2022-08-09 13:35:05 +03:00
|
|
|
}
|
|
|
|
|
},
|
2022-10-13 13:09:15 +03:00
|
|
|
{
|
|
|
|
|
"name": "base-ios-release",
|
|
|
|
|
"displayName": "Base iOS release",
|
|
|
|
|
"description": "Base VCMI preset for iOS release",
|
|
|
|
|
"inherits": "base-release",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"BUNDLE_IDENTIFIER_PREFIX": "eu.vcmi"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ios-release-conan",
|
|
|
|
|
"displayName": "iOS+Conan release",
|
|
|
|
|
"description": "VCMI iOS release using Conan",
|
|
|
|
|
"inherits": [
|
|
|
|
|
"base-ios-release",
|
|
|
|
|
"ios-device-conan"
|
2023-10-02 00:09:25 +02:00
|
|
|
],
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"ENABLE_PCH" : "ON"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "ios-release-conan-ccache",
|
|
|
|
|
"displayName": "iOS+Conan release using ccache",
|
|
|
|
|
"description": "VCMI iOS release using Conan and ccache",
|
|
|
|
|
"inherits": "ios-release-conan",
|
|
|
|
|
"cacheVariables": {
|
2023-10-09 21:48:49 +02:00
|
|
|
"ENABLE_PCH" : "OFF",
|
|
|
|
|
"ENABLE_CCACHE": "ON"
|
2023-10-02 00:09:25 +02:00
|
|
|
}
|
2022-10-13 13:09:15 +03:00
|
|
|
},
|
2023-02-26 15:53:51 +03:00
|
|
|
{
|
|
|
|
|
"name": "android-conan-ninja-release",
|
|
|
|
|
"displayName": "Android release",
|
|
|
|
|
"description": "VCMI Android Ninja using Conan",
|
|
|
|
|
"inherits": [
|
|
|
|
|
"build-with-conan",
|
|
|
|
|
"default-release"
|
|
|
|
|
],
|
|
|
|
|
"cacheVariables": {
|
2024-06-21 14:58:33 +00:00
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
|
|
|
"ANDROIDDEPLOYQT_OPTIONS" : "--aab"
|
2023-02-26 15:53:51 +03:00
|
|
|
}
|
2024-04-22 10:26:05 +03:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "android-daily-release",
|
|
|
|
|
"displayName": "Android daily release",
|
|
|
|
|
"description": "VCMI Android daily build",
|
|
|
|
|
"inherits": "android-conan-ninja-release",
|
|
|
|
|
"cacheVariables": {
|
2024-12-21 18:28:40 +01:00
|
|
|
"ANDROID_GRADLE_PROPERTIES": "applicationIdSuffix=.daily;signingConfig=dailySigning;applicationLabel=VCMI daily;applicationVariant=daily"
|
2024-04-22 10:26:05 +03:00
|
|
|
}
|
2025-02-16 22:29:07 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "portmaster-release",
|
|
|
|
|
"displayName": "PortMaster",
|
|
|
|
|
"description": "VCMI PortMaster",
|
|
|
|
|
"inherits": "default-release",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
|
"CMAKE_INSTALL_PREFIX": ".",
|
|
|
|
|
"ENABLE_DEBUG_CONSOLE": "OFF",
|
|
|
|
|
"ENABLE_EDITOR": "OFF",
|
|
|
|
|
"ENABLE_GITVERSION": "OFF",
|
|
|
|
|
"ENABLE_LAUNCHER": "OFF",
|
|
|
|
|
"ENABLE_SERVER": "OFF",
|
|
|
|
|
"ENABLE_TRANSLATIONS": "OFF",
|
|
|
|
|
"FORCE_BUNDLED_FL": "ON",
|
|
|
|
|
"ENABLE_GOLDMASTER": "ON",
|
|
|
|
|
"VCMI_PORTMASTER": "ON"
|
|
|
|
|
}
|
2022-05-26 08:55:20 +03:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"buildPresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default-release",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"configuration": "RelWithDebInfo"
|
|
|
|
|
},
|
2023-07-11 15:30:45 +03:00
|
|
|
{
|
|
|
|
|
"name": "default-debug",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"configuration": "Debug"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-release",
|
|
|
|
|
"configurePreset": "linux-clang-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2023-12-27 21:14:00 +01:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-release-ccache",
|
|
|
|
|
"configurePreset": "linux-clang-release-ccache",
|
|
|
|
|
"inherits": "linux-clang-release"
|
|
|
|
|
},
|
2023-03-01 17:26:59 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-test",
|
|
|
|
|
"configurePreset": "linux-clang-test",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-test",
|
|
|
|
|
"configurePreset": "linux-gcc-test",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release",
|
|
|
|
|
"configurePreset": "linux-gcc-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2026-02-15 17:34:48 +01:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release-appimage",
|
|
|
|
|
"configurePreset": "linux-gcc-release-appimage",
|
|
|
|
|
"inherits": "linux-gcc-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release-arm64-appimage",
|
|
|
|
|
"configurePreset": "linux-gcc-release-arm64-appimage",
|
|
|
|
|
"inherits": "linux-gcc-release"
|
|
|
|
|
},
|
2023-12-27 21:14:00 +01:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release-ccache",
|
|
|
|
|
"configurePreset": "linux-gcc-release-ccache",
|
|
|
|
|
"inherits": "linux-gcc-release"
|
|
|
|
|
},
|
2023-07-11 15:30:45 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-debug",
|
|
|
|
|
"configurePreset": "linux-gcc-debug",
|
|
|
|
|
"inherits": "default-debug"
|
|
|
|
|
},
|
2025-08-06 13:35:07 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-debug",
|
|
|
|
|
"configurePreset": "linux-clang-debug",
|
|
|
|
|
"inherits": "default-debug"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "macos-xcode-release",
|
|
|
|
|
"configurePreset": "macos-xcode-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "macos-ninja-release",
|
|
|
|
|
"configurePreset": "macos-ninja-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2022-08-30 17:29:00 +03:00
|
|
|
{
|
|
|
|
|
"name": "macos-conan-ninja-release",
|
|
|
|
|
"configurePreset": "macos-conan-ninja-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "macos-arm-conan-ninja-release",
|
|
|
|
|
"configurePreset": "macos-arm-conan-ninja-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2023-12-30 00:30:08 +01:00
|
|
|
{
|
|
|
|
|
"name": "windows-mingw-release",
|
|
|
|
|
"configurePreset": "windows-mingw-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release",
|
|
|
|
|
"configurePreset": "windows-msvc-release",
|
2023-12-03 21:03:09 +02:00
|
|
|
"inherits": "default-release"
|
2022-05-28 14:32:54 +03:00
|
|
|
},
|
2024-10-27 09:18:21 +00:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release-x86",
|
|
|
|
|
"configurePreset": "windows-msvc-release-x86",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2025-07-15 19:21:12 +02:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release-arm64",
|
|
|
|
|
"configurePreset": "windows-msvc-release-arm64",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2023-10-09 21:48:49 +02:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release-ccache",
|
|
|
|
|
"configurePreset": "windows-msvc-release-ccache",
|
|
|
|
|
"inherits": "windows-msvc-release"
|
|
|
|
|
},
|
2022-05-28 14:32:54 +03:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-relwithdebinfo",
|
|
|
|
|
"configurePreset": "windows-msvc-release",
|
2022-05-26 08:55:20 +03:00
|
|
|
"inherits": "default-release"
|
2022-08-09 13:35:05 +03:00
|
|
|
},
|
2025-08-23 19:12:55 +02:00
|
|
|
{
|
2025-10-24 11:32:57 +03:00
|
|
|
"name": "windows-msvc-ninja-release",
|
|
|
|
|
"configurePreset": "windows-msvc-ninja-release",
|
|
|
|
|
"inherits": "default-release"
|
2025-08-23 19:12:55 +02:00
|
|
|
},
|
|
|
|
|
{
|
2025-10-24 11:32:57 +03:00
|
|
|
"name": "windows-msvc-ninja-release-x86",
|
|
|
|
|
"configurePreset": "windows-msvc-ninja-release-x86",
|
|
|
|
|
"inherits": "default-release"
|
2025-08-23 19:12:55 +02:00
|
|
|
},
|
|
|
|
|
{
|
2025-10-24 11:32:57 +03:00
|
|
|
"name": "windows-msvc-ninja-release-arm64",
|
|
|
|
|
"configurePreset": "windows-msvc-ninja-release-arm64",
|
|
|
|
|
"inherits": "default-release"
|
2025-08-23 19:12:55 +02:00
|
|
|
},
|
2022-08-09 13:35:05 +03:00
|
|
|
{
|
2022-10-13 13:09:15 +03:00
|
|
|
"name": "ios-release-conan",
|
|
|
|
|
"configurePreset": "ios-release-conan",
|
2022-08-09 13:35:05 +03:00
|
|
|
"inherits": "default-release",
|
2026-01-06 14:23:39 +03:00
|
|
|
"configuration": "RelWithDebInfo",
|
2022-08-09 13:35:05 +03:00
|
|
|
"targets": ["vcmiclient"],
|
|
|
|
|
"nativeToolOptions": [
|
2022-08-11 13:14:02 +03:00
|
|
|
"CODE_SIGNING_ALLOWED_FOR_APPS=NO"
|
2022-08-09 13:35:05 +03:00
|
|
|
]
|
2022-10-13 13:09:15 +03:00
|
|
|
},
|
2023-10-02 00:09:25 +02:00
|
|
|
{
|
|
|
|
|
"name": "ios-release-conan-ccache",
|
|
|
|
|
"configurePreset": "ios-release-conan-ccache",
|
|
|
|
|
"inherits": "ios-release-conan"
|
|
|
|
|
},
|
2023-02-26 15:53:51 +03:00
|
|
|
{
|
|
|
|
|
"name": "android-conan-ninja-release",
|
|
|
|
|
"configurePreset": "android-conan-ninja-release",
|
|
|
|
|
"inherits": "default-release"
|
2024-04-22 10:26:05 +03:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "android-daily-release",
|
|
|
|
|
"configurePreset": "android-daily-release",
|
|
|
|
|
"inherits": "android-conan-ninja-release"
|
2025-02-16 22:29:07 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "portmaster-release",
|
|
|
|
|
"configurePreset": "portmaster-release",
|
|
|
|
|
"inherits": "default-release",
|
|
|
|
|
"configuration": "Release"
|
2022-05-26 08:55:20 +03:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"testPresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "default-release",
|
|
|
|
|
"hidden": true,
|
|
|
|
|
"output": {
|
|
|
|
|
"shortProgress": true,
|
|
|
|
|
"verbosity": "verbose"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-24 11:32:57 +03:00
|
|
|
"name": "linux-clang-debug",
|
|
|
|
|
"configurePreset": "linux-clang-debug",
|
|
|
|
|
"inherits": "default-release"
|
2022-05-26 08:55:20 +03:00
|
|
|
},
|
2025-10-24 11:13:34 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-clang-release",
|
|
|
|
|
"configurePreset": "linux-clang-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-10-24 11:32:57 +03:00
|
|
|
"name": "linux-clang-test",
|
|
|
|
|
"configurePreset": "linux-clang-test",
|
|
|
|
|
"inherits": "default-release"
|
2025-10-24 11:13:34 +03:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-debug",
|
|
|
|
|
"configurePreset": "linux-gcc-debug",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "linux-gcc-release",
|
|
|
|
|
"configurePreset": "linux-gcc-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2025-10-05 13:45:30 +02:00
|
|
|
{
|
2025-10-24 11:32:57 +03:00
|
|
|
"name": "linux-gcc-test",
|
|
|
|
|
"configurePreset": "linux-gcc-test",
|
|
|
|
|
"inherits": "default-release"
|
2025-10-05 13:45:30 +02:00
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "macos-xcode-release",
|
|
|
|
|
"configurePreset": "macos-xcode-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "macos-ninja-release",
|
|
|
|
|
"configurePreset": "macos-ninja-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2023-12-30 00:30:08 +01:00
|
|
|
{
|
|
|
|
|
"name": "windows-mingw-release",
|
|
|
|
|
"configurePreset": "windows-mingw-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
},
|
2022-05-26 08:55:20 +03:00
|
|
|
{
|
|
|
|
|
"name": "windows-msvc-release",
|
|
|
|
|
"configurePreset": "windows-msvc-release",
|
|
|
|
|
"inherits": "default-release"
|
|
|
|
|
}
|
|
|
|
|
]
|
2022-08-09 13:35:05 +03:00
|
|
|
}
|