mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
Add modules support (#1015)
Add experimental C++20 module suppport. Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
18
src/ftxui/dom/direction.cppm
Normal file
18
src/ftxui/dom/direction.cppm
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user