mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-24 16:21:12 +08:00
Include additional information on module organisation
This commit is contained in:
parent
9577dfc0b3
commit
f1dfc8f2f8
@ -7,8 +7,7 @@
|
|||||||
> please open an issue.
|
> please open an issue.
|
||||||
|
|
||||||
FTXUI provides an experimental support for [C++20
|
FTXUI provides an experimental support for [C++20
|
||||||
modules](https://en.cppreference.com/w/cpp/language/modules) to improve
|
modules](https://en.cppreference.com/w/cpp/language/modules) to improve compilation times and code organization. The existing API has a module corresponding to each header.
|
||||||
compilation times and code organization.
|
|
||||||
|
|
||||||
**Example with CMake and Ninja**
|
**Example with CMake and Ninja**
|
||||||
|
|
||||||
@ -40,8 +39,7 @@ ninja
|
|||||||
### Module list
|
### Module list
|
||||||
|
|
||||||
The modules directly reference the corresponding header, or a group of related
|
The modules directly reference the corresponding header, or a group of related
|
||||||
headers to provide a more convenient interface. The following modules
|
headers to provide a more convenient interface. The following modules are available:
|
||||||
are available:
|
|
||||||
|
|
||||||
- `ftxui`
|
- `ftxui`
|
||||||
- `ftxui.component`
|
- `ftxui.component`
|
||||||
@ -81,6 +79,10 @@ are available:
|
|||||||
- `ftxui.util.AutoReset`
|
- `ftxui.util.AutoReset`
|
||||||
- `ftxui.util.Ref`
|
- `ftxui.util.Ref`
|
||||||
|
|
||||||
|
> ![NOTE]
|
||||||
|
> The module `ftxui` transitively imports all `ftxui.*` modules and thus
|
||||||
|
> has a dependency on those modules.
|
||||||
|
|
||||||
> ![NOTE] The list can be generated with the following command:
|
> ![NOTE] The list can be generated with the following command:
|
||||||
> ```sh
|
> ```sh
|
||||||
> git grep "export module" | cut -d: -f2 | cut -d\ -f3
|
> git grep "export module" | cut -d: -f2 | cut -d\ -f3
|
||||||
|
Loading…
Reference in New Issue
Block a user