Main Page | Recent changes | View source | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

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

Retrieved from "http://wiki.glfw.org/wiki/Building_GLFW_3"

This page has been accessed 2,394 times. This page was last modified on 25 October 2010, at 11:22. Content is available under Attribution-Share Alike 3.0 Unported.


[Main Page]
Main page
Recent changes
Random page

View source
Discuss this page
Page history
What links here
Related changes

Special pages