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

18
src/ftxui/screen/box.cppm Normal file
View File

@@ -0,0 +1,18 @@
/**
* @file box.cppm
* @brief Module file for the Box struct of the Screen module
*/
module;
#include <ftxui/screen/box.hpp>
export module ftxui.screen.box;
/**
* @namespace ftxui
* @brief The FTXUI ftxui:: namespace
*/
export namespace ftxui {
using ftxui::Box;
}