Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Add support for c++20 modules and header units #303

Description

Description:

ttBld needs to add the ability to create modules and header units. Ideally, these would be part of the ninja build script -- though that means we're going to need a way for the user to specify the dependencies. For example, the user might #include "myheader.h" in main.cpp but needs to have /module:reference myheader.h:myheader.h.ifc added to the compile line for main.cpp only, and have a dependency setup between main.cpp and myheader.h.ifc so that ninja can first check whether myheader.h.ifc needs to be rebuilt. All of this would be dependent on a compiler switch -- particularly right now while clang-cl doesn't support these options.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions