From a79c844c4d216b28ca3e7d4224cc175a7f381954 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 10 Nov 2013 03:31:10 +0100 Subject: [PATCH] Oh dear. --- docs/compile.dox | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/compile.dox b/docs/compile.dox index e57b6b26..6a51f62b 100644 --- a/docs/compile.dox +++ b/docs/compile.dox @@ -81,9 +81,10 @@ not* tie your binaries to the Mesa implementation of OpenGL. Once you have all necessary dependencies it is time to generate the project files or makefiles for your development environment. CMake needs to know two -paths for this: the path to the source directory and the target path for the -generated files and compiled binaries. If these are the same, it is called an -in-tree build, otherwise it is called an out-of-tree build. +paths for this: the path to the *root* directory of the GLFW source tree (i.e. +*not* the `src` subdirectory) and the target path for the generated files and +compiled binaries. If these are the same, it is called an in-tree build, +otherwise it is called an out-of-tree build. One of several advantages of out-of-tree builds is that you can generate files and compile for different development environments using a single source tree. @@ -91,9 +92,10 @@ and compile for different development environments using a single source tree. @subsection compile_cmake_cli Generating files with the CMake command-line tool -To make an in-tree build, enter the root directory of the GLFW source tree and -run CMake. The current directory is used as target path, while the path -provided as an argument is used to find the source tree. +To make an in-tree build, enter the *root* directory of the GLFW source tree +(i.e. *not* the `src` subdirectory) and run CMake. The current directory is +used as target path, while the path provided as an argument is used to find the +source tree. cd cmake .