summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorAndreas Weis <der_ghulbus@ghulbus-inc.de>2023-06-08 10:21:17 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-22 18:22:56 (GMT)
commitd90a61d671192fefd18a9c6152db8925a64b5035 (patch)
treeb63780988994517780ecf48d979930cf2d5f35e1 /.gitlab/ci
parent99ea9ad947e980d179a618ff1f67fa27a30975d3 (diff)
downloadCMake-d90a61d671192fefd18a9c6152db8925a64b5035.zip
CMake-d90a61d671192fefd18a9c6152db8925a64b5035.tar.gz
CMake-d90a61d671192fefd18a9c6152db8925a64b5035.tar.bz2
VS: Make C++ module BMIs public by default for shared libraries
Enable the `AllProjectBMIsArePublic` option for shared libraries in the VS project files when building with C++20 modules support.
Diffstat (limited to '.gitlab/ci')
-rw-r--r--.gitlab/ci/configure_windows_vs2022_x64.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci/configure_windows_vs2022_x64.cmake b/.gitlab/ci/configure_windows_vs2022_x64.cmake
index 290d380..51ee514 100644
--- a/.gitlab/ci/configure_windows_vs2022_x64.cmake
+++ b/.gitlab/ci/configure_windows_vs2022_x64.cmake
@@ -1,4 +1,4 @@
-set(CMake_TEST_MODULE_COMPILATION "named,partitions,internal_partitions" CACHE STRING "")
+set(CMake_TEST_MODULE_COMPILATION "named,partitions,internal_partitions,shared" CACHE STRING "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_cxx_modules_common.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common.cmake")