Dependencies | Compiling & Running
A basic demo showcasing Virgil and used as a test bed for features.
virgil
(if installed system wide)libsdl2-2.0-0
(if compiling with virgil as a subproject)
The demo can be compiled with Virgil multiple ways, you can install Virgil system wide as either a static library or shared library as shown on the Virgil Compiling Steps and link to the demo or by using virgil as a subproject...
# If using Virgil as a meson subproject
meson build -Duse-subproject=true --default-library=static
ninja -C build
build/virgil-demo
# If using Virgil as a system wide install
meson build
ninja -C build
build/virgil-demo