This commit is contained in:
ArthurSonzogni 2025-05-08 12:37:10 +02:00
parent 2e3e190466
commit afedd51447
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C

View File

@ -81,7 +81,7 @@ include(FetchContent)
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
FetchContent_Declare(ftxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
GIT_TAG main # Important: Specify a version or a commit hash here.
GIT_TAG 6.1.9
)
FetchContent_MakeAvailable(ftxui)
@ -94,16 +94,7 @@ target_link_libraries(ftxui-starter
)
```
## Build
```bash
mkdir build && cd build
cmake ..
make
./main
```
### Using Bazel
### Using Bazel {#build-bazel}
See [ftxui module](https://registry.bazel.build/modules/ftxui) from the Bazel
Central Registry.