Skip to content
shurcooL edited this page Oct 26, 2014 · 11 revisions

Updating GLFW C source

The following steps can be used to update the GLFW C source.

rm -rf ./glfw/
git clone --depth 1 --branch master https://github.com/glfw/glfw.git
cd ./glfw/
git rev-parse HEAD > ../GLFW_C_REVISION.txt

# Only keep the needed sources files in ./src, ./include and ./deps.
rm -rf ./.git
rm -rf ./.gitignore
rm -rf ./CMake
rm -rf ./CMakeLists.txt
rm -rf ./README.md
rm -rf ./cmake_uninstall.cmake.in
rm -rf ./docs
rm -rf ./examples
rm -rf ./tests
Clone this wiki locally