Fixed out-of-tree build documentation.

Fixes #489.
This commit is contained in:
Camilla Berglund 2015-04-07 14:41:23 +02:00
parent e8bceaa284
commit 6b21c4f6c9

View File

@ -127,15 +127,14 @@ cd <glfw-root-dir>
cmake . cmake .
@endcode @endcode
To make an out-of-tree build, make another directory, enter it and run CMake To make an out-of-tree build, make a directory outside of the source tree, enter
with the (relative or absolute) path to the root of the source tree as an it and run CMake with the (relative or absolute) path to the root of the source
argument. tree as an argument.
@code{.sh} @code{.sh}
cd <glfw-root-dir> mkdir glfw-build
mkdir build cd glfw-build
cd build cmake <glfw-root-dir>
cmake ..
@endcode @endcode
Once you have generated the project files or makefiles for your chosen Once you have generated the project files or makefiles for your chosen