Use module partitions instead of full modules (#1146)
Some checks failed
Build / Bazel, cl, windows-latest (push) Has been cancelled
Build / Bazel, clang++, macos-latest (push) Has been cancelled
Build / Bazel, clang++, ubuntu-latest (push) Has been cancelled
Build / Bazel, g++, macos-latest (push) Has been cancelled
Build / Bazel, g++, ubuntu-latest (push) Has been cancelled
Build / CMake, cl, windows-latest (push) Has been cancelled
Build / CMake, gcc, ubuntu-latest (push) Has been cancelled
Build / CMake, llvm, ubuntu-latest (push) Has been cancelled
Build / CMake, llvm, macos-latest (push) Has been cancelled
Build / Test modules (llvm, ubuntu-latest) (push) Has been cancelled
Documentation / documentation (push) Has been cancelled

Follow-up to #1015. This pull request replaces the full modules that represent headers, with partitions, to emphasise the belonging of the header to the module. This should hopefully provide a speedup to compilation, and confuse users less by aggregating the usable modules into a smaller set.
This commit is contained in:
Miko
2025-11-12 12:42:37 +00:00
committed by GitHub
parent e87d5ff95a
commit 229cae78b5
37 changed files with 140 additions and 149 deletions

View File

@@ -1,11 +1,11 @@
/// @module ftxui.dom.requirement
/// @brief Module file for the Requirement struct of the Dom module
/// @module ftxui.dom:Requirement
/// @brief Module file for the Requirement struct of the DOM module
module;
#include <ftxui/dom/requirement.hpp>
export module ftxui.dom.requirement;
export module ftxui.dom:Requirement;
/**
* @namespace ftxui