diff --git a/README.md b/README.md index daffc9578..81fbfc8bf 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,34 @@ Dependencies Optional: [https://github.com/mendsley/tinystl](https://github.com/mendsley/tinystl) +Building +-------- + +Getting source: + + git clone git://github.com/bkaradzic/bx.git + git clone git://github.com/bkaradzic/bgfx.git + cd bgfx + make + +After calling make, .build/projects/* directory will be generated. All intermediate files generated by compiler will be inside .build directory structure. Deleting .build directory at any time is safe. + +Visual Studio 2008: + + start .build/projects/vs2008/bgfx.sln + +Linux 64-bit: + + make -R linux-release64 + +Other platforms: + + make -R + +Configuration is -<32/64>. For example: + + linux-release32, nacl-debug64, android-release32, etc. + Notice ------