mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Documentation work.
This commit is contained in:
parent
99f40ede1b
commit
e309a784d1
13
README.md
13
README.md
|
@ -43,8 +43,8 @@ the necessary headers, link libraries and tools except for CMake.
|
||||||
|
|
||||||
#### Dependencies with MinGW or MinGW-w64 on Windows
|
#### Dependencies with MinGW or MinGW-w64 on Windows
|
||||||
|
|
||||||
These packages contain all the necessary headers, link libraries and tools
|
Both the MinGW and the MinGW-w64 packages contain all the necessary headers,
|
||||||
except for CMake.
|
link libraries and tools except for CMake.
|
||||||
|
|
||||||
|
|
||||||
#### Dependencies using MinGW or MinGW-w64 cross-compilation
|
#### Dependencies using MinGW or MinGW-w64 cross-compilation
|
||||||
|
@ -77,7 +77,7 @@ the CMake wiki.
|
||||||
|
|
||||||
Xcode contains all necessary tools except for CMake. The necessary headers and
|
Xcode contains all necessary tools except for CMake. The necessary headers and
|
||||||
libraries are included in the core OS frameworks. Xcode can be downloaded from
|
libraries are included in the core OS frameworks. Xcode can be downloaded from
|
||||||
the Mac App Store.
|
the Mac App Store or from the ADC Member Center.
|
||||||
|
|
||||||
|
|
||||||
#### Dependencies using Linux and X11
|
#### Dependencies using Linux and X11
|
||||||
|
@ -87,13 +87,14 @@ 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
|
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
|
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
|
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
|
packages. GLFW itself doesn't need or use GLU, but some of the examples do.
|
||||||
compilation *will not* tie your binaries to the Mesa implementation of OpenGL.
|
Note that using header files and libraries from Mesa during compilation *will
|
||||||
|
not* tie your binaries to the Mesa implementation of OpenGL.
|
||||||
|
|
||||||
|
|
||||||
### Generating files with CMake
|
### Generating files with CMake
|
||||||
|
|
||||||
Once you have all necessary dependencies, it is time to generate the project
|
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
|
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
|
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
|
generated files and compiled binaries. If these are the same, it is called an
|
||||||
|
|
Loading…
Reference in New Issue
Block a user