mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 17:39:51 -05:00
0e9782b336
Visual Studio 17.4 now contains official support for what CMake needs.
13 lines
276 B
CMake
13 lines
276 B
CMake
enable_language(CXX)
|
|
|
|
unset(CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP)
|
|
|
|
add_library(noexperimentalflag)
|
|
target_sources(noexperimentalflag
|
|
PUBLIC
|
|
FILE_SET fs TYPE CXX_MODULES FILES
|
|
sources/module.cxx)
|
|
target_compile_features(noexperimentalflag
|
|
PRIVATE
|
|
cxx_std_20)
|