A template for a C++ application that's using SixtyFPS for the user interface and CMake for the build system.
This template helps you get started developing a C++ application with SixtyFPS as toolkit
for the user interface. It demonstrates the integration between the .60
UI markup and
C++ code, how to trigger react to callbacks, get and set properties and use basic widgets.
- Clone or download this repository
git clone https://github.com/sixtyfpsui/sixtyfps-cpp-template my-project cd my-project
- Configure with CMake
mkdir build cmake -B build
- Build with CMake
cmake --build build
- Run the application binary
- Linux/macOS:
./build/my_application
- Windows:
build\my_application.exe
- Linux/macOS:
We recommend using an IDE for development, along with our LSP-based IDE integration for .60
files. You can also load this project directly in Visual Studio Code and install our SixtyFPS extension.
We hope that this template helps you get started and you enjoy exploring making user interfaces with SixtyFPS. To learn more
about the SixtyFPS APIs and the .60
markup language check out our online documentation.