mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Compare commits
10 Commits
copilot/fi
...
34ed175ed8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34ed175ed8 | ||
|
|
26083d492c | ||
|
|
608972ea17 | ||
|
|
cb199eeb41 | ||
|
|
5b96a96ea1 | ||
|
|
a6165b9d55 | ||
|
|
964b29cdfa | ||
|
|
75b9387e95 | ||
|
|
0c50e80f1f | ||
|
|
9cf19f13e2 |
@@ -435,9 +435,14 @@ If you don't, FTXUI may be used from the following packages:
|
||||
[](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:
|
||||
1. Run the installer:
|
||||
```bash
|
||||
g++ . . . -lftxui-component -lftxui-dom -lftxui-screen . . .
|
||||
chmod +x install && ./install
|
||||
```
|
||||
2. Compile your codes:
|
||||
```bash
|
||||
g++ftxui -o out source_code.cpp
|
||||
```
|
||||
|
||||
To build FTXUI with modules, check [documentation](https://arthursonzogni.github.io/FTXUI/cpp20-modules.html)
|
||||
|
||||
8
g++ftxui
Normal file
8
g++ftxui
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/bin/g++ \
|
||||
-I~/FTXUI/include \
|
||||
-L~/FTXUI/build \
|
||||
"$@" \
|
||||
-lftxui-component -lftxui-dom -lftxui-screen
|
||||
|
||||
Reference in New Issue
Block a user