Kanzi Shapes example¶
Kanzi Shapes comes with an example that demonstrates the features in Kanzi Shapes. You can find the example in the shapes/examples/shapes_example
directory.
Building the example for Windows¶
To build the Kanzi Shapes example application for Windows:
On the command line, go to the
shapes/examples/shapes_example/Application
directory.Run the script that generates a Visual Studio solution for the example application.
For example, if you use Visual Studio 2019, run
generate_cmake_vs2019_solution.bat
This script generates a Visual Studio solution for the application in the directory
shapes/examples/shapes_example/Application/build_vs2019
.To build the example application, go to the
build_vs<Version>
directory and run:cmake --build . --target install --config Release
You can find the example application executable
ShapesExample.exe
in theshapes/examples/shapes_example/Application/bin/Win64/GL_vs<Version>_Release_DLL
directory.
Building the example for Android¶
To build the Kanzi Shapes example application for Android, on the command line in the <KanziWorkspace>/Engine/plugins/shapes/examples/shapes_example/Application/configs/platforms/android_gradle
directory, run:
gradlew assembleRelease
You can find the example application in app/build/outputs/apk/release/Shapes_example-release.apk
.