Fixed out-of-tree build documentation.

Fixes #489.
master
Camilla Berglund ago%!(EXTRA string=10 years)
parent e8bceaa284
commit 6b21c4f6c9
  1. 13
      docs/compile.dox

@ -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

Loading…
Cancel
Save