git clone --recurse-submodules https://github.com/rive-app/rive-code-generator-wip
or
git clone https://github.com/rive-app/rive-code-generator-wip
cd rive-code-generator-wip
git submodule update --init --recursive
- CMake (version 3.10 or higher)
- C++ compiler with C++17 support
- Rive C++ Runtime library
To build the debug version:
cd build && ./build.sh
For the release version:
cd build && ./build.sh release
The executable will be created in build/out/lib/debug
or build/out/lib/release
.
To run the tests:
cd test && ./test.sh
Add additional tests to the test.sh
script.
To regenerate the test data:
cd test && ./test.sh --update-expected