Building GLFW 3
From GLFW
As of version 3.0, GLFW relies on CMake for the built process. CMake provides a single built process accross the different platform and compiler. It also provides support for cross compilation. This pages gather information on how to use the build process for CMake from both the point of view of the users or the development point of view.
Contents |
Using GLFW build process
Getting started
In the root of the GLFW source tree do:
cmake . make
and you should have a nice library ready to be used and a bunch of examples and tests ready.
If you want to cross compile from linux to windows you can do the following:
cmake -DCMAKE_TOOLCHAIN_FILE=./CMake/A_TOOLCHAIN.cmake . make
and you should have libraries and a bunch of examples and tests to execute using either Wine or a win32 system.
The support for the toolchain provided by debian is currently broken.
GLFW build process internal
Status
Missing Features
- Better support for cross-compiling still some issue with the existing solution
- Better integration in other projects: CMAKE export files.
- Support for generating the documentation
![[Main Page]](http://wiki.glfw.org/wiki/images/logo.png)