Updated README.

This commit is contained in:
Branimir Karadžić 2015-03-14 13:14:48 -07:00
parent f9f962c04b
commit 8e1fad3813

View File

@ -319,37 +319,27 @@ Building
Steps bellow are for default build system inside bgfx repository. There is Steps bellow are for default build system inside bgfx repository. There is
alterative way to build bgfx and examples with [fips](https://github.com/floooh/fips-bgfx/#fips-bgfx). alterative way to build bgfx and examples with [fips](https://github.com/floooh/fips-bgfx/#fips-bgfx).
### Quick start (Windows) ### Getting source
Clone repositories:
git clone git://github.com/bkaradzic/bx.git git clone git://github.com/bkaradzic/bx.git
git clone git://github.com/bkaradzic/bgfx.git git clone git://github.com/bkaradzic/bgfx.git
### Quick start (Windows with Visual Studio)
Enter bgfx directory: Enter bgfx directory:
cd bgfx cd bgfx
Generate Visual Studio 2013 project files: Generate Visual Studio 2013 project files:
genie vs2013 ../bx/tools/bin/windows/genie vs2013
Open bgfx solution in Visual Studio 2013: Open bgfx solution in Visual Studio 2013:
start .build/projects/vs2013/bgfx.sln start .build/projects/vs2013/bgfx.sln
### Prerequisites ### Generating project files for all targets
Windows users download GnuWin32 utilities from:
[http://gnuwin32.sourceforge.net/packages/make.htm](http://gnuwin32.sourceforge.net/packages/make.htm)
[http://gnuwin32.sourceforge.net/packages/coreutils.htm](http://gnuwin32.sourceforge.net/packages/coreutils.htm)
[http://gnuwin32.sourceforge.net/packages/libiconv.htm](http://gnuwin32.sourceforge.net/packages/libiconv.htm)
[http://gnuwin32.sourceforge.net/packages/libintl.htm](http://gnuwin32.sourceforge.net/packages/libintl.htm)
### Getting source
git clone git://github.com/bkaradzic/bx.git
git clone git://github.com/bkaradzic/bgfx.git
cd bgfx cd bgfx
make make
@ -380,6 +370,12 @@ Download Native Client SDK from:
### Prerequisites for Windows ### Prerequisites for Windows
Windows users download GnuWin32 utilities from:
[http://gnuwin32.sourceforge.net/packages/make.htm](http://gnuwin32.sourceforge.net/packages/make.htm)
[http://gnuwin32.sourceforge.net/packages/coreutils.htm](http://gnuwin32.sourceforge.net/packages/coreutils.htm)
[http://gnuwin32.sourceforge.net/packages/libiconv.htm](http://gnuwin32.sourceforge.net/packages/libiconv.htm)
[http://gnuwin32.sourceforge.net/packages/libintl.htm](http://gnuwin32.sourceforge.net/packages/libintl.htm)
When building on Windows, you have to set DXSDK_DIR environment variable to When building on Windows, you have to set DXSDK_DIR environment variable to
point to DirectX SDK directory. point to DirectX SDK directory.