https://github.com/georgjz/ftxui-cradle
A simple C++ project template for applications using FTXUI
https://github.com/georgjz/ftxui-cradle
cpp ftxui gui template-project
Last synced: 9 months ago
JSON representation
A simple C++ project template for applications using FTXUI
- Host: GitHub
- URL: https://github.com/georgjz/ftxui-cradle
- Owner: georgjz
- License: mit
- Created: 2021-09-19T10:16:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-21T13:18:57.000Z (over 3 years ago)
- Last Synced: 2025-03-11T21:45:46.143Z (over 1 year ago)
- Topics: cpp, ftxui, gui, template-project
- Language: CMake
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FTXUI Cradle
A simple C++ project template for [FTXUI][ftxui] projects. You'll need [CMake][cmake], [git][g], and a C++ compiler.
The CMake files are purposefully kept minimal and simple, I don't like it when people make assumptions about other people's projects. I prefer to add project dependencies as git submodules, instead of relying on CMake's fetch (I distrust build systems deeply).
To build the code in this repository, open your favorite terminal:
```bash
git clone --recurse-submodules https://github.com/georgjz/ftxui-cradle.git
cd ftxui-cradle
cmake -S . -B build -DCMAKE_BUILD-TYPE=Debug
cmake --build build
./build/ftxui-cradle
```
The code in this repository has been successfully tested with [gcc 12.2][gcc], [clang 15.0.7][clang], and [Microsoft Visual C++ 19.34.31937][msvc].
Enjoy.
[ftxui]: https://github.com/ArthurSonzogni/FTXUI
[cmake]: https://cmake.org
[g]: https://git-scm.com
[gcc]: https://gcc.gnu.org
[clang]: https://clang.llvm.org
[msvc]: https://docs.microsoft.com/en-us/cpp/