mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
8f9fb0006a98f57c43d2d7f23fc347c35c238863
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%