Add modules support (#1015)

Add experimental C++20 module suppport.
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
Miko
2025-06-04 09:02:20 -04:00
committed by GitHub
parent fe86d06595
commit b65bbce9bb
51 changed files with 1239 additions and 56 deletions

View File

@@ -0,0 +1,18 @@
/**
* @file direction.cppm
* @brief Module file for the Direction enum of the Dom module
*/
module;
#include <ftxui/dom/direction.hpp>
export module ftxui.dom.direction;
/**
* @namespace ftxui
* @brief The FTXUI ftxui:: namespace
*/
export namespace ftxui {
using ftxui::Direction;
}