A graphics application starter package.
To enable an optional library, go to CMakeLists.txt and set
the applicable WITH_...
variable to ON
.
Library | CMake Option |
---|---|
Catch2 | WITH_CATCH2 |
Dear ImGui | WITH_IMGUI |
{fmt} | WITH_FMT |
GLEQ | WITH_GLEQ |
meshoptimizer | WITH_MESHOPT |
stb | WITH_STB |
BGFX's shaderc
compiler can take a relatively long time to compile. When
WITH_PREBUILT_SHADERC
is ON
(which it is by default), CMake tries to fetch
prebuilt binary for your platform (currently Windows and macOS x64), and only
compiles shaderc
from source otherwise. You can pass CMake
WITH_PREBUILT_SHADERC=OFF
to always force compilation from source.