warzes / glfw-single-header

A script that generates a single-header & single-header+single-source version of GLFW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glfw-single-header

A python3 script that generates a single-header and single-header+single-source version of GLFW. Currently it compiles on windows easily, here is an example with gcc:

gcc example/*.c -I example/ -lgdi32

And also MacOS,

export SDKROOT=$(xcrun --show-sdk-path)
gcc -ObjC example/*.c -I example/ -framework Cocoa -framework IOkit

About

A script that generates a single-header & single-header+single-source version of GLFW

License:Creative Commons Zero v1.0 Universal


Languages

Language:C 99.9%Language:Python 0.1%Language:CMake 0.0%Language:Batchfile 0.0%