A simple C++ project template for FTXUI projects. You'll need CMake, git, 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:
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, clang 15.0.7, and Microsoft Visual C++ 19.34.31937.
Enjoy.