Made compilation directions simpler

This commit is contained in:
Davis King 2012-03-22 18:53:48 -04:00
parent 1d3b429f40
commit 42d5b96005

View File

@ -59,14 +59,11 @@ cd examples
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
cmake --build . --config Release
</code_box> </code_box>
Then cmake will create whatever is needed to compile the examples on your computer. If you are using Linux Note that you also need to have a C++ compiler installed on your system. There are free C++ compilers
or a Mac it will create a makefile and then you can compile everything by typing: for most operating systems. For example, Visual Studio Express is free on Windows and GCC is free and
<code_box> works well on Mac OS X and Linux systems.
make
</code_box>
Or on windows, if you have Visual Studio installed, it will make a Visual Studio project which you can then open
and compile by clicking the build button.
<h2>Compiling on Linux From Command Line</h2> <h2>Compiling on Linux From Command Line</h2>
From within the examples folder, you can compile any of the examples with a single command like so: From within the examples folder, you can compile any of the examples with a single command like so: