summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-28 22:56:17 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-28 23:02:51 (GMT)
commit12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e (patch)
treea0079ce6dbd57a1d0b64e0376e41b81d9d06fd31 /Help
parent90907c8ff96ff07f0dafc1f4904d25b1e10f014b (diff)
downloadCMake-12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e.zip
CMake-12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e.tar.gz
CMake-12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e.tar.bz2
MSVC: don't opt into dyndep support
Instead, just set the variables for how scanning works since that is part of the compiler mechanisms. Fixes: #24198
Diffstat (limited to 'Help')
-rw-r--r--Help/dev/experimental.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/dev/experimental.rst b/Help/dev/experimental.rst
index 78770f7..03eb076 100644
--- a/Help/dev/experimental.rst
+++ b/Help/dev/experimental.rst
@@ -41,7 +41,8 @@ to tell CMake how to invoke the C++20 module dependency scanning tool.
MSVC 19.34 (provided with Visual Studio 17.4) and above contains the support
that CMake needs and has these variables already set up as required and only
-the UUID variable needs to be set.
+the UUID and the ``CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP`` variables need to be
+set.
For example, add code like the following to a test project: