Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
/ virgil-demo Public archive

A small demo to showcase the Virgil game engine!

Notifications You must be signed in to change notification settings

lxmcf/virgil-demo

Repository files navigation

Virgil

Dependencies | Compiling & Running

A basic demo showcasing Virgil and used as a test bed for features.

Dependencies


  • virgil (if installed system wide)
  • libsdl2-2.0-0 (if compiling with virgil as a subproject)

Compiling & Running


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