Update README.md

g++ftxui bash script description added
This commit is contained in:
PiGames 2025-06-10 11:46:58 +03:00 committed by GitHub
parent 75b9387e95
commit 964b29cdfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -435,9 +435,9 @@ If you don't, FTXUI may be used from the following packages:
[![Packaging status](https://repology.org/badge/vertical-allrepos/libftxui.svg)](https://repology.org/project/libftxui/versions) [![Packaging status](https://repology.org/badge/vertical-allrepos/libftxui.svg)](https://repology.org/project/libftxui/versions)
If you choose to build and link FTXUI yourself, `ftxui-component` must be first in the linking order relative to the other FTXUI libraries, i.e. If you choose to build with g++, you can use bash script:
```bash ```bash
g++ . . . -lftxui-component -lftxui-dom -lftxui-screen . . . g++ftxui -o out source_code.cpp
``` ```
To build FTXUI with modules, check [documentation](https://arthursonzogni.github.io/FTXUI/cpp20-modules.html) To build FTXUI with modules, check [documentation](https://arthursonzogni.github.io/FTXUI/cpp20-modules.html)