Add C++20 modules support with CMake integration#132
Open
kaladron wants to merge 1 commit intop-ranav:masterfrom
Open
Add C++20 modules support with CMake integration#132kaladron wants to merge 1 commit intop-ranav:masterfrom
kaladron wants to merge 1 commit intop-ranav:masterfrom
Conversation
- Add tabulate.cppm module interface file exporting core types - Extend CMakeLists.txt to conditionally build C++20 module target - Create USING.md with comprehensive integration guide covering: - Header-only usage - CMake FetchContent and find_package - C++20 modules with detailed examples - Single header usage - Add USE_CPP20 CMake option for C++20 standard support - Add TABULATE_BUILD_MODULE option to control module building - Install module files alongside headers - Update README.md with link to integration guide The module support requires CMake 3.28+ and is compatible with generators supporting C++20 modules (Ninja, Visual Studio 17.4+). Tested: - Clang 22 on Linux with Ninja.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The module support requires CMake 3.28+ and is compatible with generators supporting C++20 modules (Ninja, Visual Studio 17.4+).
Tested: