mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Build documentation improvements.
This commit is contained in:
parent
082fc019c7
commit
a024e61bf8
14
README.md
14
README.md
@ -77,12 +77,12 @@ the Mac App Store.
|
||||
|
||||
#### Unix-like systems with X11
|
||||
|
||||
To compile GLFW for X11 and GLX, you need to have the X and OpenGL header
|
||||
packages installed, as well as the basic development tools like GCC and make.
|
||||
For example, on Ubuntu and other distributions based on Debian GNU/Linux, you
|
||||
need to install the `xorg-dev` and `libglu1-mesa-dev` packages. The former
|
||||
pulls in all X.org header packages and the latter pulls in the Mesa OpenGL and
|
||||
GLU packages. Note that using header files and libraries from Mesa during
|
||||
To compile GLFW for X11, you need to have the X11 and OpenGL header packages
|
||||
installed, as well as the basic development tools like GCC and make. For
|
||||
example, on Ubuntu and other distributions based on Debian GNU/Linux, you need
|
||||
to install the `xorg-dev` and `libglu1-mesa-dev` packages. The former pulls in
|
||||
all X.org header packages and the latter pulls in the Mesa OpenGL and GLU
|
||||
packages. Note that using header files and libraries from Mesa during
|
||||
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
|
||||
and compile for different development environments using a single source tree.
|
||||
|
||||
|
||||
#### Using CMake from the command-line
|
||||
|
||||
To make an in-tree build, enter the root directory of the GLFW source tree and
|
||||
@ -115,6 +116,7 @@ argument.
|
||||
cd build
|
||||
cmake ..
|
||||
|
||||
|
||||
#### Using the CMake GUI
|
||||
|
||||
If you are using the GUI version, choose the root of the GLFW source tree as
|
||||
|
Loading…
Reference in New Issue
Block a user