mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Updated readme.
This commit is contained in:
parent
d6973d9e50
commit
21bb4e2073
1 changed files with 12 additions and 6 deletions
18
README.md
18
README.md
|
@ -54,11 +54,11 @@ 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.
|
||||
|
||||
### Building for Linux
|
||||
### Prerequisites for Linux
|
||||
|
||||
sudo apt-get install libgl1-mesa-dev
|
||||
|
||||
### Building for Windows
|
||||
### Prerequisites for Windows
|
||||
|
||||
When building on Windows, you have to set DXSDK_DIR environment variable to
|
||||
point to DirectX SDK directory.
|
||||
|
@ -71,7 +71,7 @@ directory link to directory without spaces in the path.
|
|||
mklink /D <path to DirectX SDK directory> c:\dxsdk
|
||||
setx DXSDK_DIR c:\dxsdk
|
||||
|
||||
### Building for Native Client (Pepper 22) on Windows
|
||||
### Prerequisites for Native Client (Pepper 22) on Windows
|
||||
|
||||
Download Native Client SDK from:
|
||||
[https://developers.google.com/native-client/sdk/download](https://developers.google.com/native-client/sdk/download)
|
||||
|
@ -80,17 +80,21 @@ Download Native Client SDK from:
|
|||
|
||||
### Building
|
||||
|
||||
Visual Studio 2008:
|
||||
Visual Studio 2008 command line:
|
||||
|
||||
make vs2008-release64
|
||||
|
||||
Visual Studio 2008 IDE:
|
||||
|
||||
start .build/projects/vs2008/bgfx.sln
|
||||
|
||||
Linux 64-bit:
|
||||
|
||||
make -R linux-release64
|
||||
make linux-release64
|
||||
|
||||
Other platforms:
|
||||
|
||||
make -R <configuration>
|
||||
make <configuration>
|
||||
|
||||
Configuration is `<platform>-<debug/release><32/64>`. For example:
|
||||
|
||||
|
@ -197,6 +201,8 @@ cross-platform shaders.
|
|||
|
||||
### Geometry Compiler (geometryc)
|
||||
|
||||
Converts Wavefront .obj mesh file to format optimal for using with bgfx.
|
||||
|
||||
Todo
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in a new issue