r/cpp • u/stailgot • Oct 02 '23
CMake | C++ modules support in 3.28
https://gitlab.kitware.com/cmake/cmake/-/issues/18355
After 5 years its finally done. Next cmake 3.28 release will support cpp modules
C++ 20 named modules are now supported by Ninja Generators and Visual Studio Generators for VS 2022 and newer, in combination with the MSVC 14.34 toolset (provided with VS 17.4) and newer, LLVM/Clang 16.0 and newer, and GCC 14 (after the 2023-09-20 daily bump) and newer.
237
Upvotes
1
u/delta_p_delta_x Oct 03 '23
We wanted to maintain parity with the header-only
vulkan.hpp, where features are controlled with user-specified defines in the command-line. That being said, maybe what you said:Was the source of this bug? Also, the last comment in that issue:
is unclear for me. Is this expected behaviour?