arampl wrote on Sunday, May 04, 2014:
-
Download CMake for Windows http://www.cmake.org/cmake/resources/software.html
-
Install it and run.
-
Set path to GLFW source (root of source tarball, not folder “src”).
-
Set path to CodeBlocks project file (where you want it to be created).
-
Press “Configure” and choose generator “CodeBlocks MinGW makefiles”.
-
Press “Generate”.
-
Open generated project in CodeBlocks.
-
Here, in source tree, you now have library, all examples and tests.
-
After build you will have static library - “libglfw3.a” (in the “src”) and executables for examples and tests.
Tested with CodeBlocks 12.11 on Windows 7 64