Skip to content
Dmitri Shuralyov edited this page Jan 18, 2015 · 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 ./src/CMakeLists.txt
rm -rf ./src/*.in
rm -rf ./README.md
rm -rf ./cmake_uninstall.cmake.in
rm -rf ./docs
rm -rf ./examples
rm -rf ./tests

Clone this wiki locally