Added submodules for bx and bgfx.

This commit is contained in:
Joshua Brookover
2016-09-06 01:32:35 -05:00
parent 5088dc78f0
commit 0514e615f2
5 changed files with 15 additions and 7 deletions

6
.gitignore vendored
View File

@@ -1,4 +1,2 @@
build/
bgfx/
bx/
*.swp
build/
*.swp

6
.gitmodules vendored Normal file
View File

@@ -0,0 +1,6 @@
[submodule "bgfx"]
path = bgfx
url = git@github.com:bkaradzic/bgfx.git
[submodule "bx"]
path = bx
url = git@github.com:bkaradzic/bx.git

1
bgfx Submodule

Submodule bgfx added at 0acb371d61

1
bx Submodule

Submodule bx added at e431bb5e20

View File

@@ -1,16 +1,18 @@
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:
This repo contains a bunch of cmake files that can be used to build bgfx with CMake. To get started, clone 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
git submodule init
git submodule update
mkdir build
cd build
cmake ..
```
If downloading via zip, instead of using git submodule manually download bx and bgfx and copy them into the root directory, or locate them via BX_DIR and BGFX_DIR CMake variables.
Features
-------------
* No outside dependencies besides bx, bgfx, and CMake.