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

Loading…
Cancel
Save