mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
b030cbac0c27725dedff97aeb1ba49d72e0c7907
Supports building bgfx, tools, & examples. Detects shader modifications and automatically recompiles them for DirectX11.
bgfx.cmake
This repo contains a bunch of cmake files that can be used to build bgfx with CMake. To get started, pull down the repo and run these commands from within the root directory of the repo:
git clone git@github.com:bkaradzic/bx.git
git clone git@github.com:bkaradzic/bgfx.git
mkdir build
cd build
cmake ..
Features
- No outside dependencies besides bx, bgfx, and CMake.
- Only tested in Visual Studio 2015 so far.
- Compiles bgfx, tools & examples.
- Detects shader modifications and automatically rebuilds them (DirectX11 shaders only for now).
- Uses CMake interface libraries (linking against bgfx is one line of cmake code via target_link_libraries).
License
The license is BSD with no clauses meaning you can use this software however you want but I cannot be held liable for damages.
Description
Languages
CMake
100%