msvc: bless MSVC 19.34 support for C++ modules as experimental

Visual Studio 17.4 now contains official support for what CMake needs.
This commit is contained in:
Ben Boeckel
2022-10-04 11:59:09 -04:00
parent d85f866baa
commit 0e9782b336
6 changed files with 19 additions and 33 deletions

View File

@@ -39,6 +39,10 @@ they can use it to develop and test their dependency scanning tool.
The ``CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE`` variable must also be set
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.
For example, add code like the following to a test project:
.. code-block:: cmake