premake / premake/premake-core
C++20 module support
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 654
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 13
Description
Is there a plan to support C++20 modules for non-vstudio generators? This is not an easy task, it would probably require a major structural change that adds a prebuild step to:
- Call toolset-specific tools (e.g. clang-scan-deps) to scan for module dependencies and emit this info
- Parse the output to determine dependencies
- Dynamically add these dependencies to the build graph for makefile/ninja
It seems that the major compiler vendors have now stabilised their module scanning tools and have adopted a single dependency generation format.
Is this within scope of the Premake project?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the non-vstudio generators and the compiler-vendor module scanning tools named in the issue, including clang-scan-deps. Determine whether dependency output can be scanned, parsed, and added to makefile/ninja build graphs; done would require an agreed scope and implementation plan.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100