| 1 | { |
| 2 | "version": 5, |
| 3 | "cmakeMinimumRequired": {"major": 3, "minor": 23, "patch": 0}, |
| 4 | "configurePresets": [ |
| 5 | { |
| 6 | "name": "default", |
| 7 | "displayName": "Default config using Ninja", |
| 8 | "description": "Keeps defaults, uses Ninja, base for any of the other presets", |
| 9 | "generator": "Ninja", |
| 10 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/default", |
| 11 | "cacheVariables": { |
| 12 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "$env{BUILD_DIR}/install-prefix"}, |
| 13 | "GO_DEVELOPMENT_PATH": {"type": "PATH", "value": "$env{BUILD_DIR}/go-path"} |
| 14 | }, |
| 15 | "environment": {"TEST_FILE_PATH": "${sourceDir}/testfiles"} |
| 16 | }, |
| 17 | { |
| 18 | "name": "no-webview", |
| 19 | "inherits": "default", |
| 20 | "displayName": "Disables web view", |
| 21 | "description": "Same as default but disables web view", |
| 22 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/default-no-webview", |
| 23 | "cacheVariables": { |
| 24 | "WEBVIEW_PROVIDER": {"type": "STRING", "value": "none"} |
| 25 | } |
| 26 | }, |
| 27 | { |
| 28 | "name": "builtin-translations", |
| 29 | "inherits": "default", |
| 30 | "displayName": "Enables built-in translations", |
| 31 | "description": "Same as default but enables built-in translations", |
| 32 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/built-in-translations", |
| 33 | "cacheVariables": { |
| 34 | "BUILTIN_TRANSLATIONS": {"type": "BOOL", "value": "ON"} |
| 35 | } |
| 36 | }, |
| 37 | { |
| 38 | "name": "clang", |
| 39 | "inherits": "default", |
| 40 | "displayName": "Use clang/clang++", |
| 41 | "description": "Enforces use of clang/clang++ even when it is not the system default", |
| 42 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/default-clang", |
| 43 | "cacheVariables": { |
| 44 | "CMAKE_C_COMPILER": {"type": "STRING", "value": "clang"}, |
| 45 | "CMAKE_CXX_COMPILER": {"type": "STRING", "value": "clang++"} |
| 46 | } |
| 47 | }, |
| 48 | { |
| 49 | "name": "libc++", |
| 50 | "inherits": "clang", |
| 51 | "displayName": "Use clang/clang++ and libc++", |
| 52 | "description": "Enforces use of clang/clang++ and libc++ even when it is not the system default", |
| 53 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/default-clang-libc++", |
| 54 | "cacheVariables": { |
| 55 | "CMAKE_CXX_FLAGS": {"type": "STRING", "value": "$env{CXXFLAGS} -stdlib=libc++"} |
| 56 | } |
| 57 | }, |
| 58 | { |
| 59 | "name": "no-kde", |
| 60 | "inherits": "default", |
| 61 | "displayName": "Disables KDE integrations", |
| 62 | "description": "Same as default but disables KDE integrations", |
| 63 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/default-no-kde", |
| 64 | "cacheVariables": { |
| 65 | "NO_PLASMOID": {"type": "BOOL", "value": "ON"}, |
| 66 | "NO_FILE_ITEM_ACTION_PLUGIN": {"type": "BOOL", "value": "ON"} |
| 67 | } |
| 68 | }, |
| 69 | { |
| 70 | "name": "qt6", |
| 71 | "inherits": "default", |
| 72 | "displayName": "Use Qt 6 (instead of Qt 5)", |
| 73 | "description": "Same as default but configures use of Qt 6 (only relevant if project uses Qt)", |
| 74 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/default-qt6", |
| 75 | "cacheVariables": { |
| 76 | "QT_PACKAGE_PREFIX": {"type": "STRING", "value": "Qt6"}, |
| 77 | "KF_PACKAGE_PREFIX": {"type": "STRING", "value": "KF6"}, |
| 78 | "BUILD_WITH_QT6": {"type": "BOOL", "value": "ON"} |
| 79 | } |
| 80 | }, |
| 81 | { |
| 82 | "name": "ccache", |
| 83 | "inherits": "default", |
| 84 | "displayName": "Use ccache", |
| 85 | "description": "Same as default but uses ccache", |
| 86 | "cacheVariables": { |
| 87 | "CMAKE_C_COMPILER_LAUNCHER": {"type": "STRING", "value": "ccache"}, |
| 88 | "CMAKE_CXX_COMPILER_LAUNCHER": {"type": "STRING", "value": "ccache"} |
| 89 | } |
| 90 | }, |
| 91 | { |
| 92 | "name": "devel", |
| 93 | "inherits": "ccache", |
| 94 | "displayName": "Generic development config", |
| 95 | "description": "Development build with testsuite using ccache with many warnings enabled and treated as errors", |
| 96 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel", |
| 97 | "cacheVariables": { |
| 98 | "ENABLE_DEVEL_DEFAULTS": {"type": "BOOL", "value": "ON"}, |
| 99 | "USE_LIBARCHIVE": {"type": "BOOL", "value": "ON"}, |
| 100 | "CONFIGURATION_NAME": {"type": "STRING", "value": "devel"}, |
| 101 | "CONFIGURATION_PACKAGE_SUFFIX": {"type": "STRING", "value": "-devel"}, |
| 102 | "CONFIGURATION_PACKAGE_SUFFIX_QTUTILITIES": {"type": "STRING", "value": "-devel"}, |
| 103 | "CONFIGURATION_PACKAGE_SUFFIX_QTFORKAWESOME": {"type": "STRING", "value": "-devel"}, |
| 104 | "CONFIGURATION_TARGET_SUFFIX": {"type": "STRING", "value": "devel"} |
| 105 | } |
| 106 | }, |
| 107 | { |
| 108 | "name": "devel-no-tests", |
| 109 | "inherits": ["devel"], |
| 110 | "displayName": "Generic development config (no tests by default)", |
| 111 | "description": "Development build using ccache with many warnings enabled and treated as errors", |
| 112 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel", |
| 113 | "cacheVariables": { |
| 114 | "EXCLUDE_TESTS_FROM_ALL": {"type": "BOOL", "value": "ON"} |
| 115 | } |
| 116 | }, |
| 117 | { |
| 118 | "name": "devel-clang", |
| 119 | "inherits": ["devel", "clang"], |
| 120 | "displayName": "Development config using clang", |
| 121 | "description": "Combination of devel and libc++", |
| 122 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-clang" |
| 123 | }, |
| 124 | { |
| 125 | "name": "devel-libc++", |
| 126 | "inherits": ["devel", "libc++"], |
| 127 | "displayName": "Development config using libc++", |
| 128 | "description": "Combination of devel and libc++", |
| 129 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-libc++", |
| 130 | "cacheVariables": { |
| 131 | "ENABLE_CPP_UNIT": {"type": "BOOL", "value": "OFF"} |
| 132 | } |
| 133 | }, |
| 134 | { |
| 135 | "name": "devel-qt6", |
| 136 | "inherits": ["qt6", "devel"], |
| 137 | "displayName": "Generic development config using Qt 6", |
| 138 | "description": "Same as devel but configures use of Qt 6 (only relevant if project uses Qt)", |
| 139 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-qt6", |
| 140 | "cacheVariables": { |
| 141 | "QT_PACKAGE_PREFIX": {"type": "STRING", "value": "Qt6"}, |
| 142 | "QT_MAJOR_VERSION": {"type": "STRING", "value": "6"}, |
| 143 | "KF_PACKAGE_PREFIX": {"type": "STRING", "value": "KF6"}, |
| 144 | "BUILD_WITH_QT6": {"type": "BOOL", "value": "ON"}, |
| 145 | "NO_PLASMOID": {"type": "BOOL", "value": "ON"}, |
| 146 | "NO_FILE_ITEM_ACTION_PLUGIN": {"type": "BOOL", "value": "ON"} |
| 147 | } |
| 148 | }, |
| 149 | { |
| 150 | "name": "devel-unity", |
| 151 | "inherits": ["devel-qt6"], |
| 152 | "displayName": "Development config creating a unity build using Qt 6", |
| 153 | "description": "Same as devel-qt6 but configures makes a unity build", |
| 154 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-unity", |
| 155 | "cacheVariables": { |
| 156 | "CMAKE_UNITY_BUILD": {"type": "BOOL", "value": "ON"} |
| 157 | } |
| 158 | }, |
| 159 | { |
| 160 | "name": "devel-clang-qt6", |
| 161 | "inherits": ["qt6", "devel-clang"], |
| 162 | "displayName": "Development config using clang and Qt 6", |
| 163 | "description": "Combination of qt6 and devel-clang", |
| 164 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-clang-qt6" |
| 165 | }, |
| 166 | { |
| 167 | "name": "devel-libc++-qt6", |
| 168 | "inherits": ["qt6", "devel-libc++"], |
| 169 | "displayName": "Development config using libc++ and Qt 6", |
| 170 | "description": "Combination of qt6 and devel-libc++", |
| 171 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-libc++-qt6" |
| 172 | }, |
| 173 | { |
| 174 | "name": "debug", |
| 175 | "inherits": "devel", |
| 176 | "displayName": "Generic debug build with development config", |
| 177 | "description": "Same as devel but creates a debug build", |
| 178 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/debug", |
| 179 | "cacheVariables": { |
| 180 | "CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Debug"} |
| 181 | } |
| 182 | }, |
| 183 | { |
| 184 | "name": "debug-qt6", |
| 185 | "inherits": ["debug", "devel-qt6"], |
| 186 | "displayName": "Generic debug build with development config using Qt 6", |
| 187 | "description": "Same as devel-qt6 but creates a debug build", |
| 188 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/debug-qt6" |
| 189 | }, |
| 190 | { |
| 191 | "name": "debug-kde", |
| 192 | "inherits": "debug-qt6", |
| 193 | "displayName": "Generic debug build with development config with KDE integrations enabled", |
| 194 | "description": "Same as debug-qt6 but with KDE integrations enabled", |
| 195 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/debug-kde", |
| 196 | "cacheVariables": { |
| 197 | "NO_PLASMOID": {"type": "BOOL", "value": "OFF"}, |
| 198 | "NO_FILE_ITEM_ACTION_PLUGIN": {"type": "BOOL", "value": "OFF"} |
| 199 | } |
| 200 | }, |
| 201 | { |
| 202 | "name": "debug-kde-custom", |
| 203 | "inherits": "debug-kde", |
| 204 | "displayName": "Generic debug build with development config using custom KDE build", |
| 205 | "description": "Same as debug-kde but with custom KDE installation from KDE_INSTALL_DIR", |
| 206 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/debug-kde-custom", |
| 207 | "cacheVariables": { |
| 208 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{KDE_INSTALL_DIR}"}, |
| 209 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "$env{KDE_INSTALL_DIR}"} |
| 210 | } |
| 211 | }, |
| 212 | { |
| 213 | "name": "arch-*-w64-mingw32", |
| 214 | "inherits": ["no-webview", "no-kde"], |
| 215 | "displayName": "Target *-w64-mingw32 using Arch Linux's mingw-w64 packaging", |
| 216 | "description": "Build targeting *-w64-mingw32, paths and flags are specific to Arch Linux's mingw-w64 packaging", |
| 217 | "environment": { |
| 218 | "CPPFLAGS": "-D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS", |
| 219 | "CFLAGS": "$env{CPPFLAGS} -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fcf-protection", |
| 220 | "CXXFLAGS": "$env{CPPFLAGS} -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fcf-protection", |
| 221 | "LDFLAGS": "-Wl,-O1,--sort-common,--as-needed -fstack-protector" |
| 222 | }, |
| 223 | "cacheVariables": { |
| 224 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "ON"}, |
| 225 | "VERSIONED_MINGW_LIBRARIES": {"type": "BOOL", "value": "ON"}, |
| 226 | "ENABLE_TARGETS_FOR_MINGW_CROSS_PACKAGING": {"type": "BOOL", "value": "ON"} |
| 227 | } |
| 228 | }, |
| 229 | { |
| 230 | "name": "arch-i686-w64-mingw32", |
| 231 | "inherits": "arch-*-w64-mingw32", |
| 232 | "displayName": "Target i686-w64-mingw32 using Arch Linux's mingw-w64 packaging", |
| 233 | "description": "Build targeting i686-w64-mingw32, paths and flags are specific to Arch Linux's mingw-w64 packaging", |
| 234 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32", |
| 235 | "toolchainFile": "/usr/share/mingw/toolchain-i686-w64-mingw32.cmake", |
| 236 | "environment": { |
| 237 | "CROSS_TOOL_PREFIX": "i686-w64-mingw32-", |
| 238 | "CROSS_INSTALL_PREFIX": "/usr/i686-w64-mingw32", |
| 239 | "PKG_CONFIG_SYSROOT_DIR": "$env{CROSS_INSTALL_PREFIX}", |
| 240 | "PKG_CONFIG_LIBDIR": "$env{CROSS_INSTALL_PREFIX}/lib/pkgconfig:$env{CROSS_INSTALL_PREFIX}/share/pkgconfig", |
| 241 | "PATH": "$env{CROSS_INSTALL_PREFIX}/bin:$penv{PATH}" |
| 242 | }, |
| 243 | "cacheVariables": { |
| 244 | "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/include"}, |
| 245 | "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/include"}, |
| 246 | "CMAKE_CROSSCOMPILING_EMULATOR": {"type": "PATH", "value": "/usr/bin/i686-w64-mingw32-wine"} |
| 247 | } |
| 248 | }, |
| 249 | { |
| 250 | "name": "arch-x86_64-w64-mingw32", |
| 251 | "inherits": "arch-*-w64-mingw32", |
| 252 | "displayName": "Target x86_64-w64-mingw32 using Arch Linux's mingw-w64 packaging", |
| 253 | "description": "Build targeting x86_64-w64-mingw32, paths and flags are specific to Arch Linux's mingw-w64 packaging", |
| 254 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32", |
| 255 | "toolchainFile": "/usr/share/mingw/toolchain-x86_64-w64-mingw32.cmake", |
| 256 | "environment": { |
| 257 | "CROSS_TOOL_PREFIX": "x86_64-w64-mingw32-", |
| 258 | "CROSS_INSTALL_PREFIX": "/usr/x86_64-w64-mingw32", |
| 259 | "PKG_CONFIG_SYSROOT_DIR": "$env{CROSS_INSTALL_PREFIX}", |
| 260 | "PKG_CONFIG_LIBDIR": "$env{CROSS_INSTALL_PREFIX}/lib/pkgconfig:$env{CROSS_INSTALL_PREFIX}/share/pkgconfig", |
| 261 | "PATH": "$env{CROSS_INSTALL_PREFIX}/bin:$penv{PATH}" |
| 262 | }, |
| 263 | "cacheVariables": { |
| 264 | "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/include"}, |
| 265 | "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/include"}, |
| 266 | "CMAKE_CROSSCOMPILING_EMULATOR": {"type": "PATH", "value": "/usr/bin/x86_64-w64-mingw32-wine"} |
| 267 | } |
| 268 | }, |
| 269 | { |
| 270 | "name": "arch-i686-w64-mingw32-static", |
| 271 | "inherits": ["arch-i686-w64-mingw32", "builtin-translations"], |
| 272 | "displayName": "Target i686-w64-mingw32 using Arch Linux's mingw-w64 packaging (static)", |
| 273 | "description": "Build targeting i686-w64-mingw32, paths and flags are specific to Arch Linux's mingw-w64 packaging", |
| 274 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32-static", |
| 275 | "toolchainFile": "/usr/share/mingw/toolchain-i686-w64-mingw32-static.cmake", |
| 276 | "cacheVariables": { |
| 277 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"}, |
| 278 | "CMAKE_FIND_LIBRARY_SUFFIXES": {"type": "STRING", "value": ".a;.lib"}, |
| 279 | "STATIC_LIBRARY_LINKAGE": {"type": "BOOL", "value": "ON"}, |
| 280 | "STATIC_LINKAGE": {"type": "BOOL", "value": "ON"} |
| 281 | } |
| 282 | }, |
| 283 | { |
| 284 | "name": "arch-x86_64-w64-mingw32-static", |
| 285 | "inherits": ["arch-x86_64-w64-mingw32", "builtin-translations"], |
| 286 | "displayName": "Target x86_64-w64-mingw32 using Arch Linux's mingw-w64 packaging (static)", |
| 287 | "description": "Build targeting x86_64-w64-mingw32, paths and flags are specific to Arch Linux's mingw-w64 packaging", |
| 288 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32-static", |
| 289 | "toolchainFile": "/usr/share/mingw/toolchain-x86_64-w64-mingw32-static.cmake", |
| 290 | "cacheVariables": { |
| 291 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"}, |
| 292 | "CMAKE_FIND_LIBRARY_SUFFIXES": {"type": "STRING", "value": ".a;.lib"}, |
| 293 | "STATIC_LIBRARY_LINKAGE": {"type": "BOOL", "value": "ON"}, |
| 294 | "STATIC_LINKAGE": {"type": "BOOL", "value": "ON"} |
| 295 | } |
| 296 | }, |
| 297 | { |
| 298 | "name": "arch-i686-w64-mingw32-qt6", |
| 299 | "inherits": ["qt6", "arch-i686-w64-mingw32"], |
| 300 | "displayName": "Combination of qt6 and arch-i686-w64-mingw32", |
| 301 | "description": "See description of qt6 and arch-i686-w64-mingw32", |
| 302 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32-qt6" |
| 303 | }, |
| 304 | { |
| 305 | "name": "arch-x86_64-w64-mingw32-qt6", |
| 306 | "inherits": ["qt6", "arch-x86_64-w64-mingw32"], |
| 307 | "displayName": "Combination of qt6 and arch-x86_64-w64-mingw32", |
| 308 | "description": "See description of qt6 and arch-x86_64-w64-mingw32", |
| 309 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32-qt6" |
| 310 | }, |
| 311 | { |
| 312 | "name": "arch-i686-w64-mingw32-static-qt6", |
| 313 | "inherits": ["qt6", "arch-i686-w64-mingw32-static"], |
| 314 | "displayName": "Combination of qt6 and arch-i686-w64-mingw32-static", |
| 315 | "description": "See description of qt6 and arch-i686-w64-mingw32-static", |
| 316 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32-static-qt6" |
| 317 | }, |
| 318 | { |
| 319 | "name": "arch-x86_64-w64-mingw32-static-qt6", |
| 320 | "inherits": ["qt6", "arch-x86_64-w64-mingw32-static"], |
| 321 | "displayName": "Combination of qt6 and arch-x86_64-w64-mingw32-static", |
| 322 | "description": "See description of qt6 and arch-x86_64-w64-mingw32-static", |
| 323 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32-static-qt6" |
| 324 | }, |
| 325 | { |
| 326 | "name": "arch-i686-w64-mingw32-devel", |
| 327 | "inherits": ["devel", "arch-i686-w64-mingw32"], |
| 328 | "displayName": "Combination of devel and arch-i686-w64-mingw32", |
| 329 | "description": "See descriptions of devel and arch-i686-w64-mingw32", |
| 330 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32-devel" |
| 331 | }, |
| 332 | { |
| 333 | "name": "arch-x86_64-w64-mingw32-devel", |
| 334 | "inherits": ["devel", "arch-x86_64-w64-mingw32"], |
| 335 | "displayName": "Combination of devel and arch-x86_64-w64-mingw32", |
| 336 | "description": "See descriptions of devel and arch-x86_64-w64-mingw32", |
| 337 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32-devel" |
| 338 | }, |
| 339 | { |
| 340 | "name": "arch-i686-w64-mingw32-devel-qt6", |
| 341 | "inherits": ["qt6", "devel", "arch-i686-w64-mingw32"], |
| 342 | "displayName": "Combination of qt6, devel and arch-i686-w64-mingw32", |
| 343 | "description": "See descriptions of devel and arch-i686-w64-mingw32", |
| 344 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32-devel" |
| 345 | }, |
| 346 | { |
| 347 | "name": "arch-x86_64-w64-mingw32-devel-qt6", |
| 348 | "inherits": ["qt6", "devel", "arch-x86_64-w64-mingw32"], |
| 349 | "displayName": "Combination of qt6, devel and arch-x86_64-w64-mingw32", |
| 350 | "description": "See descriptions of devel and arch-x86_64-w64-mingw32", |
| 351 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32-devel" |
| 352 | }, |
| 353 | { |
| 354 | "name": "arch-i686-w64-mingw32-static-devel-qt6", |
| 355 | "inherits": ["qt6", "devel", "arch-i686-w64-mingw32-static"], |
| 356 | "displayName": "Combination of qt6, devel and arch-i686-w64-mingw32-static", |
| 357 | "description": "See descriptions of devel and arch-i686-w64-mingw32-static", |
| 358 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-i686-w64-mingw32-devel" |
| 359 | }, |
| 360 | { |
| 361 | "name": "arch-x86_64-w64-mingw32-static-devel-qt6", |
| 362 | "inherits": ["qt6", "devel", "arch-x86_64-w64-mingw32-static"], |
| 363 | "displayName": "Combination of qt6, devel and arch-x86_64-w64-mingw32-static", |
| 364 | "description": "See descriptions of devel and arch-x86_64-w64-mingw32-static", |
| 365 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-x86_64-w64-mingw32-devel" |
| 366 | }, |
| 367 | { |
| 368 | "name": "arch-mingw-w64-clang", |
| 369 | "inherits": ["no-webview", "no-kde", "qt6"], |
| 370 | "displayName": "Target *-w64-mingw32 using LLVM/Clang provided by Arch Linux and additional mingw-w64-clang-* packaging (invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" before invoking CMake)", |
| 371 | "description": "Build targeting Windows, paths and flags are specific to Arch Linux packaging, invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" for required environment variables", |
| 372 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-mingw-w64-clang-$env{MINGW_W64_CLANG_TARGET}", |
| 373 | "toolchainFile": "/usr/share/mingw/toolchain-$env{MINGW_W64_CLANG_TARGET}.cmake", |
| 374 | "cacheVariables": { |
| 375 | "CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Release"}, |
| 376 | "CMAKE_C_FLAGS_RELEASE": {"type": "STRING", "value": "$env{CFLAGS}"}, |
| 377 | "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "/usr/$env{MINGW_W64_CLANG_TARGET}/include"}, |
| 378 | "CMAKE_CXX_FLAGS_RELEASE": {"type": "STRING", "value": "$env{CXXFLAGS}"}, |
| 379 | "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "/usr/$env{MINGW_W64_CLANG_TARGET}/include"}, |
| 380 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "/usr/$env{MINGW_W64_CLANG_TARGET}"}, |
| 381 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "/usr/$env{MINGW_W64_CLANG_TARGET}"}, |
| 382 | "CMAKE_INSTALL_LIBDIR": {"type": "PATH", "value": "lib"}, |
| 383 | "CMAKE_CROSSCOMPILING_EMULATOR": {"type": "PATH", "value": "/usr/bin/$env{MINGW_W64_CLANG_TARGET}-wine"}, |
| 384 | "INCLUDE_INSTALL_DIR": {"type": "PATH", "value": "/usr/$env{MINGW_W64_CLANG_TARGET}/include"}, |
| 385 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "ON"}, |
| 386 | "VERSIONED_MINGW_LIBRARIES": {"type": "BOOL", "value": "ON"}, |
| 387 | "ENABLE_TARGETS_FOR_MINGW_CROSS_PACKAGING": {"type": "BOOL", "value": "ON"}, |
| 388 | "ENABLE_CPP_UNIT": {"type": "BOOL", "value": "OFF"}, |
| 389 | "USE_BOOST_PROCESS": {"type": "BOOL", "value": "OFF"} |
| 390 | } |
| 391 | }, |
| 392 | { |
| 393 | "name": "arch-mingw-w64-clang-devel", |
| 394 | "inherits": ["arch-mingw-w64-clang", "devel-no-tests"], |
| 395 | "displayName": "Target *-w64-mingw32 using LLVM/Clang provided by Arch Linux and additional mingw-w64-clang-* packaging (invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" before invoking CMake)", |
| 396 | "description": "Build targeting Windows, paths and flags are specific to Arch Linux packaging, invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" for required environment variables", |
| 397 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-mingw-w64-clang-devel-$env{MINGW_W64_CLANG_TARGET}" |
| 398 | }, |
| 399 | { |
| 400 | "name": "arch-mingw-w64-clang-static", |
| 401 | "inherits": ["arch-mingw-w64-clang"], |
| 402 | "displayName": "Target *-w64-mingw32 using LLVM/Clang provided by Arch Linux and additional mingw-w64-clang-* packaging (invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" before invoking CMake)", |
| 403 | "description": "Build targeting Windows preferring static libraries, paths and flags are specific to Arch Linux packaging, invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" for required environment variables", |
| 404 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-mingw-w64-clang-static-$env{MINGW_W64_CLANG_TARGET}", |
| 405 | "toolchainFile": "/usr/share/mingw/toolchain-$env{MINGW_W64_CLANG_TARGET}-static.cmake", |
| 406 | "cacheVariables": { |
| 407 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "/usr/$env{MINGW_W64_CLANG_TARGET}/static;/usr/$env{MINGW_W64_CLANG_TARGET}"}, |
| 408 | "CMAKE_FIND_LIBRARY_SUFFIXES": {"type": "STRING", "value": ".a;.lib"}, |
| 409 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"}, |
| 410 | "STATIC_LIBRARY_LINKAGE": {"type": "BOOL", "value": "ON"}, |
| 411 | "STATIC_LINKAGE": {"type": "BOOL", "value": "ON"} |
| 412 | } |
| 413 | }, |
| 414 | { |
| 415 | "name": "arch-mingw-w64-clang-devel-static", |
| 416 | "inherits": ["arch-mingw-w64-clang-static", "devel-no-tests"], |
| 417 | "displayName": "Target *-w64-mingw32 using LLVM/Clang provided by Arch Linux and additional mingw-w64-clang-* packaging (invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" before invoking CMake)", |
| 418 | "description": "Build targeting Windows preferring static libraries, paths and flags are specific to Arch Linux packaging, invoke e.g. \"source mingw-clang-env aarch64-w64-mingw32\" for required environment variables", |
| 419 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-mingw-w64-clang-devel-static-$env{MINGW_W64_CLANG_TARGET}" |
| 420 | }, |
| 421 | { |
| 422 | "name": "arch-static-compat", |
| 423 | "inherits": ["no-webview", "no-kde", "qt6", "builtin-translations"], |
| 424 | "displayName": "Target static-compat environment for Arch Linux", |
| 425 | "description": "Build using static-compat packages for Arch Linux found in my PKGBUILDs repo", |
| 426 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-static-compat", |
| 427 | "environment": { |
| 428 | "CROSS_INSTALL_PREFIX": "/usr/static-compat", |
| 429 | "CC": "$env{CROSS_INSTALL_PREFIX}/bin/gcc", |
| 430 | "CXX": "$env{CROSS_INSTALL_PREFIX}/bin/g++", |
| 431 | "CFLAGS": "$penv{CFLAGS} -fPIC -static-libgcc -static-libstdc++", |
| 432 | "CXXFLAGS": "$penv{CXXFLAGS} -fPIC -static-libgcc -static-libstdc++", |
| 433 | "LDFLAGS": "$penv{LDFLAGS} -static-libgcc -static-libstdc++", |
| 434 | "PKG_CONFIG_PATH": "$env{CROSS_INSTALL_PREFIX}/lib/pkgconfig:$env{CROSS_INSTALL_PREFIX}/share/pkgconfig", |
| 435 | "PKG_CONFIG_SYSROOT_DIR": "$env{CROSS_INSTALL_PREFIX}", |
| 436 | "PKG_CONFIG_LIBDIR": "$env{CROSS_INSTALL_PREFIX}/lib/pkgconfig:$env{CROSS_INSTALL_PREFIX}/share/pkgconfig", |
| 437 | "PATH": "$env{CROSS_INSTALL_PREFIX}/bin:$penv{PATH}" |
| 438 | }, |
| 439 | "cacheVariables": { |
| 440 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"}, |
| 441 | "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/include"}, |
| 442 | "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/include"}, |
| 443 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}"}, |
| 444 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}"}, |
| 445 | "CMAKE_SKIP_BUILD_RPATH": {"type": "BOOL", "value": "ON"}, |
| 446 | "CMAKE_SKIP_INSTALL_RPATH": {"type": "BOOL", "value": "ON"}, |
| 447 | "CMAKE_DISABLE_FIND_PACKAGE_harfbuzz": {"type": "BOOL", "value": "ON"}, |
| 448 | "Boost_USE_STATIC_RUNTIME": {"type": "BOOL", "value": "ON"}, |
| 449 | "GLIB2_USE_PKG_CONFIG": {"type": "BOOL", "value": "ON"}, |
| 450 | "WAYLAND_USE_PKG_CONFIG": {"type": "BOOL", "value": "ON"}, |
| 451 | "OPENGL_glu_LIBRARY": {"type": "PATH", "value": "$env{CROSS_INSTALL_PREFIX}/lib/libGLU.a"}, |
| 452 | "USE_BUNDLED_RTMIDI": {"type": "BOOL", "value": "ON"} |
| 453 | } |
| 454 | }, |
| 455 | { |
| 456 | "name": "arch-static-compat-devel", |
| 457 | "inherits": ["devel", "arch-static-compat"], |
| 458 | "displayName": "Combination of devel and arch-static-compat", |
| 459 | "description": "See descriptions of devel and arch-static-compat", |
| 460 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-static-compat-devel" |
| 461 | }, |
| 462 | { |
| 463 | "name": "arch-android", |
| 464 | "inherits": ["no-webview", "no-kde", "qt6", "builtin-translations"], |
| 465 | "displayName": "Target *-linux-android using Arch Linux's Android packaging (invoke e.g. \"source android-env aarch64\" before invoking CMake)", |
| 466 | "description": "Build targeting Android, paths and flags are specific to Arch Linux's Android packaging, invoke e.g. \"source android-env aarch64\" for required environment variables", |
| 467 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-android-$env{ANDROID_ABI}", |
| 468 | "toolchainFile": "$env{ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake", |
| 469 | "environment": { |
| 470 | "PATH": "$env{ANDROID_PREFIX}/bin:/usr/lib/jvm/java-17-openjdk/bin:$penv{PATH}" |
| 471 | }, |
| 472 | "cacheVariables": { |
| 473 | "ANDROID_ABI": {"type": "STRING", "value": "$env{ANDROID_ABI}"}, |
| 474 | "ANDROID_SDK_ROOT": {"type": "STRING", "value": "$env{ANDROID_HOME}"}, |
| 475 | "ANDROID_NDK": {"type": "STRING", "value": "$env{ANDROID_NDK_HOME}"}, |
| 476 | "ANDROID_NATIVE_API_LEVEL": {"type": "STRING", "value": "$env{ANDROID_MINIMUM_PLATFORM}"}, |
| 477 | "ANDROID_TOOLCHAIN": {"type": "STRING", "value": "clang"}, |
| 478 | "CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Release"}, |
| 479 | "CMAKE_C_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_CFLAGS}"}, |
| 480 | "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 481 | "CMAKE_CXX_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_CXXFLAGS}"}, |
| 482 | "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 483 | "CMAKE_SHARED_LINKER_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_LDFLAGS}"}, |
| 484 | "CMAKE_MODULE_LINKER_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_LDFLAGS}"}, |
| 485 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{ANDROID_PREFIX}"}, |
| 486 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "$env{ANDROID_PREFIX}"}, |
| 487 | "CMAKE_INSTALL_LIBDIR": {"type": "PATH", "value": "lib"}, |
| 488 | "INCLUDE_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 489 | "LIB_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_LIB}"}, |
| 490 | "SYSCONF_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_ETC}"}, |
| 491 | "SHARE_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_SHARE}"}, |
| 492 | "PKG_CONFIG_EXECUTABLE": {"type": "FILEPATH", "value": "/usr/bin/$env{ANDROID_PKGCONFIG}"}, |
| 493 | "BACKGROUND_RUNNING_AFTER_ANDROID_ACTIVITY_DESTRUCTION": {"type": "BOOLEAN", "value": "ON"}, |
| 494 | "USE_LIBARCHIVE": {"type": "BOOLEAN", "value": "OFF"}, |
| 495 | "SETUP_TOOLS": {"type": "BOOLEAN", "value": "OFF"} |
| 496 | } |
| 497 | }, |
| 498 | { |
| 499 | "name": "arch-wasm", |
| 500 | "inherits": ["no-webview", "no-kde", "qt6"], |
| 501 | "displayName": "Target wasm32-unknown-emscripten using Arch Linux's packaging", |
| 502 | "description": "Build targeting WebAssembly via Emscripten, paths and flags are specific to Arch Linux's packaging", |
| 503 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/arch-wasm", |
| 504 | "toolchainFile": "/usr/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake", |
| 505 | "environment": { |
| 506 | "PATH": "/usr/lib/emscripten:$penv{PATH}", |
| 507 | "EMSDK": "/usr/lib/emscripten" |
| 508 | }, |
| 509 | "cacheVariables": { |
| 510 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"}, |
| 511 | "CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Release"}, |
| 512 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "/usr/lib/emscripten/system"}, |
| 513 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "/usr/lib/emscripten/system"}, |
| 514 | "CMAKE_C_FLAGS": {"type": "STRING", "value": "-pthread"}, |
| 515 | "CMAKE_CXX_FLAGS": {"type": "STRING", "value": "-pthread"}, |
| 516 | "CMAKE_CROSSCOMPILING_EMULATOR": {"type": "FILEPATH", "value": "/usr/bin/node"}, |
| 517 | "QT_HOST_PATH": {"type": "STRING", "value": "/usr"}, |
| 518 | "QT_INCLUDE_DIRS_NO_SYSTEM": {"type": "BOOL", "value": "ON"}, |
| 519 | "DBUS_NOTIFICATIONS": {"type": "BOOL", "value": "OFF"}, |
| 520 | "SYSTEMD_SUPPORT": {"type": "BOOL", "value": "OFF"}, |
| 521 | "NO_CLI": {"type": "BOOL", "value": "ON"}, |
| 522 | "USE_NATIVE_FILE_BUFFER": {"type": "BOOL", "value": "OFF"}, |
| 523 | "USE_BOOST_PROCESS": {"type": "BOOL", "value": "OFF"} |
| 524 | } |
| 525 | }, |
| 526 | { |
| 527 | "name": "win-x64-msvc-static", |
| 528 | "inherits": ["no-webview", "no-kde", "qt6", "builtin-translations"], |
| 529 | "displayName": "Target x64-windows-static on Windows", |
| 530 | "description": "Build on Windows targeting x64-windows-static using MSVC, Qt 6 (for Qt libs and CMake/Ninja), vcpkg (for other dependencies) and MSYS2 (for Perl, Go, ffmpeg and other tools)", |
| 531 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/win-x64-msvc-static", |
| 532 | "environment": { |
| 533 | "INCLUDE": "$env{MSVC_ROOT}/include;$env{MSVC_ROOT}/ATLMFC/include;$env{WIN_KITS_ROOT}/include/$env{WIN_KITS_VERSION}/ucrt;$env{WIN_KITS_ROOT}//include/$env{WIN_KITS_VERSION}//um;$env{WIN_KITS_ROOT}//include/$env{WIN_KITS_VERSION}//shared;$env{WIN_KITS_ROOT}/include/$env{WIN_KITS_VERSION}//winrt;$env{WIN_KITS_ROOT}/include/$env{WIN_KITS_VERSION}//cppwinrt", |
| 534 | "LIB": "$env{MSVC_ROOT}/ATLMFC/lib/x64;$env{MSVC_ROOT}/lib/x64;$env{WIN_KITS_ROOT}/lib/$env{WIN_KITS_VERSION}/ucrt/x64;$env{WIN_KITS_ROOT}/lib/$env{WIN_KITS_VERSION}//um/x64", |
| 535 | "LIBPATH": "$env{MSVC_ROOT}/ATLMFC/lib/x64;$env{MSVC_ROOT}/lib/x64;$env{WIN_KITS_ROOT}/lib/$env{WIN_KITS_VERSION}/ucrt/x64;$env{WIN_KITS_ROOT}/lib/$env{WIN_KITS_VERSION}/um/x64", |
| 536 | "MSYS2_PREFIX_PATH": "$env{MSYS2_ROOT}$env{MSYS2_PREFIX}", |
| 537 | "GOROOT": "$env{MSYS2_PREFIX_PATH}/lib/go" |
| 538 | }, |
| 539 | "cacheVariables": { |
| 540 | "BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"}, |
| 541 | "CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Release"}, |
| 542 | "CMAKE_TOOLCHAIN_FILE": {"type": "FILEPATH", "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"}, |
| 543 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{VCPKG_ROOT}/installed/x64-windows-static"}, |
| 544 | "CMAKE_PREFIX_PATH": {"type": "PATH", "value": "$env{QT_ROOT}"}, |
| 545 | "CMAKE_MAKE_PROGRAM": {"type": "FILEPATH", "value": "$env{QT_TOOLS}/Ninja/ninja.exe"}, |
| 546 | "CMAKE_AR_COMPILER": {"type": "FILEPATH", "value": "$env{MSVC_ROOT}/bin/Hostx64/x64/lib.exe"}, |
| 547 | "CMAKE_C_COMPILER": {"type": "FILEPATH", "value": "$env{MSVC_ROOT}/bin/HostX64/x64/cl.exe"}, |
| 548 | "CMAKE_CXX_COMPILER": {"type": "FILEPATH", "value": "$env{MSVC_ROOT}/bin/HostX64/x64/cl.exe"}, |
| 549 | "CMAKE_RC_COMPILER": {"type": "FILEPATH", "value": "$env{WIN_KITS_ROOT}/bin/$env{WIN_KITS_VERSION}/x64/rc.exe"}, |
| 550 | "CMAKE_LINKER": {"type": "FILEPATH", "value": "$env{MSVC_ROOT}/bin/Hostx64/x64/link.exe"}, |
| 551 | "CMAKE_MT": {"type": "FILEPATH", "value": "$env{WIN_KITS_ROOT}/bin/$env{WIN_KITS_VERSION}/x64/mt.exe"}, |
| 552 | "CMAKE_MSVC_RUNTIME_LIBRARY": {"type": "STRING", "value": "MultiThreaded$<$<CONFIG:Debug>:Debug>"}, |
| 553 | "CMAKE_CXX_FLAGS_DEBUG": {"type": "STRING", "value": "/MTd /Zi /Ob0 /Od /RTC1"}, |
| 554 | "CMAKE_CXX_FLAGS_RELEASE": {"type": "STRING", "value": "/MT /O2 /Ob2 /DNDEBUG"}, |
| 555 | "CMAKE_CXX_FLAGS_MINSIZEREL": {"type": "STRING", "value": "/MT /O1 /Ob1 /DNDEBUG"}, |
| 556 | "CMAKE_CXX_FLAGS_RELWITHDEBINFO": {"type": "STRING", "value": "/MT /Zi /O2 /Ob1 /DNDEBUG"}, |
| 557 | "VCPKG_TARGET_TRIPLET": {"type": "STRING", "value": "x64-windows-static"}, |
| 558 | "PERL_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/usr/bin/perl.exe"}, |
| 559 | "DOXYGEN_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_PREFIX_PATH}/bin/doxygen.exe"}, |
| 560 | "CLANG_FORMAT_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_PREFIX_PATH}/bin/clang-format.exe"}, |
| 561 | "GO_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_PREFIX_PATH}/bin/go.exe"}, |
| 562 | "FFMPEG_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_PREFIX_PATH}/bin/ffmpeg.exe"}, |
| 563 | "REALPATH_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/usr/bin/realpath.exe"}, |
| 564 | "FORCE_EXTERNAL_ICONV": {"type": "BOOL", "value": "ON"}, |
| 565 | "CPP_UNIT_LIB": {"type": "FILEPATH", "value": "$env{VCPKG_ROOT}/installed/x64-windows-static/lib/cppunit.lib"}, |
| 566 | "CPP_UNIT_INCLUDE_DIR": {"type": "PATH", "value": "$env{VCPKG_ROOT}/installed/x64-windows-static/include"}, |
| 567 | "Vulkan_INCLUDE_DIR": {"type": "PATH", "value": ""}, |
| 568 | "QUICK_GUI": {"type": "BOOL", "value": "OFF"} |
| 569 | } |
| 570 | }, |
| 571 | { |
| 572 | "name": "win-x64-msvc-static-devel", |
| 573 | "inherits": ["win-x64-msvc-static", "devel"], |
| 574 | "displayName": "Combination of devel and win-x64-msvc-static", |
| 575 | "description": "See descriptions of devel and win-x64-msvc-static", |
| 576 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/win-x64-msvc-static-devel", |
| 577 | "cacheVariables": { |
| 578 | "CLANG_FORMAT_ENABLED": {"type": "BOOL", "value": "OFF"}, |
| 579 | "CLANG_TIDY_ENABLED": {"type": "BOOL", "value": "OFF"}, |
| 580 | "CMAKE_FORMAT_ENABLED": {"type": "BOOL", "value": "OFF"} |
| 581 | } |
| 582 | }, |
| 583 | { |
| 584 | "name": "win-x64-msvc-static-debug", |
| 585 | "inherits": ["debug", "win-x64-msvc-static-devel"], |
| 586 | "displayName": "Combination of debug and win-x64-msvc-static", |
| 587 | "description": "See descriptions of debug and win-x64-msvc-static", |
| 588 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/win-x64-msvc-static-debug", |
| 589 | "cacheVariables": { |
| 590 | "CMAKE_C_COMPILER_LAUNCHER": {"type": "STRING", "value": ""}, |
| 591 | "CMAKE_CXX_COMPILER_LAUNCHER": {"type": "STRING", "value": ""}, |
| 592 | "CPP_UNIT_LIB": {"type": "FILEPATH", "value": "$env{VCPKG_ROOT}/installed/x64-windows-static/debug/lib/cppunitd.lib"} |
| 593 | } |
| 594 | }, |
| 595 | { |
| 596 | "name": "win-android-base", |
| 597 | "inherits": ["no-webview", "no-kde", "qt6", "builtin-translations"], |
| 598 | "displayName": "Target *-linux-android using MSYS2 and Arch Linux's Android packaging (invoke e.g. \"source android-env aarch64\" before invoking CMake)", |
| 599 | "description": "Build targeting Android, paths and flags are specific to MSYS2 and Arch Linux's Android packaging, invoke e.g. \"source android-env aarch64\" for required environment variables", |
| 600 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/win-android-$env{ANDROID_ABI}", |
| 601 | "toolchainFile": "$env{ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake", |
| 602 | "environment": { |
| 603 | "ANDROID_EXTERNAL_LIBS": "/opt/android-libs", |
| 604 | "PATH": "$env{MSYS2_ROOT}/$env{ANDROID_PREFIX}/bin:$env{ANDROID_STUDIO_HOME}/jbr/bin:$penv{PATH}", |
| 605 | "JAVA_HOME": "$env{ANDROID_STUDIO_HOME}/jbr" |
| 606 | }, |
| 607 | "cacheVariables": { |
| 608 | "ANDROID_ABI": {"type": "STRING", "value": "$env{ANDROID_ABI}"}, |
| 609 | "ANDROID_SDK_ROOT": {"type": "STRING", "value": "$env{ANDROID_HOME}"}, |
| 610 | "ANDROID_NDK": {"type": "STRING", "value": "$env{ANDROID_NDK_HOME}"}, |
| 611 | "ANDROID_NATIVE_API_LEVEL": {"type": "STRING", "value": "$env{ANDROID_MINIMUM_PLATFORM}"}, |
| 612 | "ANDROID_TOOLCHAIN": {"type": "STRING", "value": "clang"}, |
| 613 | "CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Release"}, |
| 614 | "CMAKE_C_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_CFLAGS}"}, |
| 615 | "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 616 | "CMAKE_CXX_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_CXXFLAGS}"}, |
| 617 | "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 618 | "CMAKE_SHARED_LINKER_FLAGS_RELEASE": {"type": "STRING", "value": "$env{ANDROID_LDFLAGS}"}, |
| 619 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{ANDROID_PREFIX}"}, |
| 620 | "CMAKE_PREFIX_PATH": {"type": "PATH", "value": "$env{ANDROID_PREFIX}"}, |
| 621 | "CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "$env{ANDROID_PREFIX}"}, |
| 622 | "CMAKE_INSTALL_LIBDIR": {"type": "PATH", "value": "lib"}, |
| 623 | "Iconv_INCLUDE_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 624 | "Iconv_LIBRARY": {"type": "PATH", "value": "$env{ANDROID_PREFIX_LIB}/lib/libiconv.a"}, |
| 625 | "INCLUDE_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_INCLUDE}"}, |
| 626 | "LIB_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_LIB}"}, |
| 627 | "SYSCONF_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_ETC}"}, |
| 628 | "SHARE_INSTALL_DIR": {"type": "PATH", "value": "$env{ANDROID_PREFIX_SHARE}"}, |
| 629 | "PKG_CONFIG_EXECUTABLE": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/usr/bin/$env{ANDROID_PKGCONFIG}"}, |
| 630 | "CGO_CFLAGS_APPEND": {"type": "STRING", "value": "-I$env{ANDROID_PREFIX_INCLUDE}"}, |
| 631 | "CGO_LDFLAGS_APPEND": {"type": "STRING", "value": "-L$env{ANDROID_PREFIX_LIB}"} |
| 632 | } |
| 633 | }, |
| 634 | { |
| 635 | "name": "win-android", |
| 636 | "inherits": ["win-android-base"], |
| 637 | "displayName": "Target *-linux-android using MSYS2 and Arch Linux's Android packaging (invoke e.g. \"source android-env aarch64\" before invoking CMake)", |
| 638 | "description": "Build targeting Android, paths and flags are specific to MSYS2 and Arch Linux's Android packaging, invoke e.g. \"source android-env aarch64\" for required environment variables", |
| 639 | "cacheVariables": { |
| 640 | "QT_HOST_PATH": {"type": "PATH", "value": "$env{MSYS2_ROOT}/ucrt64"} |
| 641 | } |
| 642 | }, |
| 643 | { |
| 644 | "name": "win-android-official-qt", |
| 645 | "inherits": ["win-android-base"], |
| 646 | "displayName": "Target *-linux-android using official Qt builds and additionally MSYS2 and Arch Linux's Android packaging (invoke e.g. \"source android-env aarch64\" before invoking CMake)", |
| 647 | "description": "Build targeting Android, paths and flags are specific to MSYS2 and Arch Linux's Android packaging, invoke e.g. \"source android-env aarch64\" for required environment variables", |
| 648 | "binaryDir": "$env{BUILD_DIR}/${sourceDirName}/win-android-official-qt-$env{ANDROID_ABI}", |
| 649 | "cacheVariables": { |
| 650 | "CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{QT_PLATFORMS_ROOT}/android_$env{QT_ANDROID_ARCH};$env{ANDROID_PREFIX}"} |
| 651 | } |
| 652 | } |
| 653 | ], |
| 654 | "buildPresets": [ |
| 655 | {"name": "default", "configurePreset": "default"}, |
| 656 | {"name": "libc++", "configurePreset": "libc++"}, |
| 657 | {"name": "qt6", "configurePreset": "qt6"}, |
| 658 | {"name": "devel", "configurePreset": "devel"}, |
| 659 | {"name": "devel-clang", "configurePreset": "devel-clang"}, |
| 660 | {"name": "devel-libc++", "configurePreset": "devel-libc++"}, |
| 661 | {"name": "devel-qt6", "configurePreset": "devel-qt6"}, |
| 662 | {"name": "devel-unity", "configurePreset": "devel-unity"}, |
| 663 | {"name": "devel-clang-qt6", "configurePreset": "devel-clang-qt6"}, |
| 664 | {"name": "devel-libc++-qt6", "configurePreset": "devel-libc++-qt6"}, |
| 665 | {"name": "debug", "configurePreset": "debug"}, |
| 666 | {"name": "debug-qt6", "configurePreset": "debug-qt6"}, |
| 667 | {"name": "debug-kde", "configurePreset": "debug-kde"}, |
| 668 | {"name": "debug-kde-custom", "configurePreset": "debug-kde-custom"}, |
| 669 | {"name": "arch-i686-w64-mingw32", "configurePreset": "arch-i686-w64-mingw32"}, |
| 670 | {"name": "arch-x86_64-w64-mingw32", "configurePreset": "arch-x86_64-w64-mingw32"}, |
| 671 | {"name": "arch-i686-w64-mingw32-static", "configurePreset": "arch-i686-w64-mingw32-static"}, |
| 672 | {"name": "arch-x86_64-w64-mingw32-static", "configurePreset": "arch-x86_64-w64-mingw32-static"}, |
| 673 | {"name": "arch-i686-w64-mingw32-qt6", "configurePreset": "arch-i686-w64-mingw32-qt6"}, |
| 674 | {"name": "arch-x86_64-w64-mingw32-qt6", "configurePreset": "arch-x86_64-w64-mingw32-qt6"}, |
| 675 | {"name": "arch-i686-w64-mingw32-static-qt6", "configurePreset": "arch-i686-w64-mingw32-static-qt6"}, |
| 676 | {"name": "arch-x86_64-w64-mingw32-static-qt6", "configurePreset": "arch-x86_64-w64-mingw32-static-qt6"}, |
| 677 | {"name": "arch-i686-w64-mingw32-devel", "configurePreset": "arch-i686-w64-mingw32-devel"}, |
| 678 | {"name": "arch-x86_64-w64-mingw32-devel", "configurePreset": "arch-x86_64-w64-mingw32-devel"}, |
| 679 | {"name": "arch-i686-w64-mingw32-devel-qt6", "configurePreset": "arch-i686-w64-mingw32-devel-qt6"}, |
| 680 | {"name": "arch-x86_64-w64-mingw32-devel-qt6", "configurePreset": "arch-x86_64-w64-mingw32-devel-qt6"}, |
| 681 | {"name": "arch-i686-w64-mingw32-static-devel-qt6", "configurePreset": "arch-i686-w64-mingw32-static-devel-qt6"}, |
| 682 | {"name": "arch-x86_64-w64-mingw32-static-devel-qt6", "configurePreset": "arch-x86_64-w64-mingw32-static-devel-qt6"}, |
| 683 | {"name": "arch-mingw-w64-clang", "configurePreset": "arch-mingw-w64-clang"}, |
| 684 | {"name": "arch-mingw-w64-clang-devel", "configurePreset": "arch-mingw-w64-clang-devel"}, |
| 685 | {"name": "arch-mingw-w64-clang-static", "configurePreset": "arch-mingw-w64-clang-static"}, |
| 686 | {"name": "arch-mingw-w64-clang-devel-static", "configurePreset": "arch-mingw-w64-clang-devel-static"}, |
| 687 | {"name": "arch-static-compat", "configurePreset": "arch-static-compat"}, |
| 688 | {"name": "arch-static-compat-devel", "configurePreset": "arch-static-compat-devel"}, |
| 689 | {"name": "arch-android", "configurePreset": "arch-android"}, |
| 690 | {"name": "arch-wasm", "configurePreset": "arch-wasm"}, |
| 691 | {"name": "win-x64-msvc-static", "configurePreset": "win-x64-msvc-static"}, |
| 692 | {"name": "win-x64-msvc-static-devel", "configurePreset": "win-x64-msvc-static-devel"}, |
| 693 | {"name": "win-x64-msvc-static-debug", "configurePreset": "win-x64-msvc-static-debug"}, |
| 694 | {"name": "win-android", "configurePreset": "win-android"}, |
| 695 | {"name": "win-android-official-qt", "configurePreset": "win-android-official-qt"} |
| 696 | ], |
| 697 | "testPresets": [ |
| 698 | { |
| 699 | "name": "default", |
| 700 | "configurePreset": "default", |
| 701 | "output": {"outputOnFailure": true}, |
| 702 | "execution": {"noTestsAction": "error", "stopOnFailure": true} |
| 703 | } |
| 704 | ] |
| 705 | } |