Build documentation improvements.

This commit is contained in:
Camilla Berglund 2013-08-07 17:53:19 +02:00
parent 082fc019c7
commit a024e61bf8

View File

@ -77,12 +77,12 @@ the Mac App Store.
#### Unix-like systems with X11 #### Unix-like systems with X11
To compile GLFW for X11 and GLX, you need to have the X and OpenGL header To compile GLFW for X11, you need to have the X11 and OpenGL header packages
packages installed, as well as the basic development tools like GCC and make. installed, as well as the basic development tools like GCC and make. For
For example, on Ubuntu and other distributions based on Debian GNU/Linux, you example, on Ubuntu and other distributions based on Debian GNU/Linux, you need
need to install the `xorg-dev` and `libglu1-mesa-dev` packages. The former to install the `xorg-dev` and `libglu1-mesa-dev` packages. The former pulls in
pulls in all X.org header packages and the latter pulls in the Mesa OpenGL and all X.org header packages and the latter pulls in the Mesa OpenGL and GLU
GLU packages. Note that using header files and libraries from Mesa during packages. Note that using header files and libraries from Mesa during
compilation *will not* tie your binaries to the Mesa implementation of OpenGL. compilation *will not* tie your binaries to the Mesa implementation of OpenGL.
@ -97,6 +97,7 @@ 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 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. and compile for different development environments using a single source tree.
#### Using CMake from the command-line #### Using CMake from the command-line
To make an in-tree build, enter the root directory of the GLFW source tree and To make an in-tree build, enter the root directory of the GLFW source tree and
@ -115,6 +116,7 @@ argument.
cd build cd build
cmake .. cmake ..
#### Using the CMake GUI #### Using the CMake GUI
If you are using the GUI version, choose the root of the GLFW source tree as If you are using the GUI version, choose the root of the GLFW source tree as