mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Updated readme with building instructions.
This commit is contained in:
parent
695fc7fd5f
commit
aac1f29278
1 changed files with 28 additions and 0 deletions
28
README.md
28
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>
|
||||
|
||||
Configuration is <platform>-<debug/release><32/64>. For example:
|
||||
|
||||
linux-release32, nacl-debug64, android-release32, etc.
|
||||
|
||||
Notice
|
||||
------
|
||||
|
||||
|
|
Loading…
Reference in a new issue