From 26c0acf2661eb3b0274f9bf98d4d3f7dfcd68713 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 16 Oct 2024 11:47:07 +0200 Subject: [PATCH] coin: Build MSVC as standalone examples in a separate build directory The MSVC platform was not there when the rest of the platforms where adjusted to build examples as standalone. Now that it's here, add it. This is a pre-requisite for building examples as external projects with MSVC. Augments d278e682c622cf5f355edc63a503af97f079ba79 Task-number: QTBUG-90820 Task-number: QTBUG-96232 Change-Id: I4a77d16e0f683f5984beeedb6e6d32707847383b Reviewed-by: Joerg Bornemann (cherry picked from commit 2dce30db01777b9a8f815efbd6d991272b36b108) Reviewed-by: Qt Cherry-pick Bot --- coin/platform_configs/cmake_platforms.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index 0d97c2f2..371bf97c 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -183,7 +183,7 @@ Configurations: Id: 'windows-11_23H2-msvc2022-developer-build' Template: 'qtci-windows-11_23H2-x86_64-53' Compiler: 'MSVC2022' - Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure'] + Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples'] Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20' Environment variables: [ 'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',