1 ,使用CMake 生成项目 ,
2,然后编译glfw.
步骤如图:
将需要暴露的.h文件 选择 ,add.
xcode 编译glfw , 导出.h
原文:http://www.cnblogs.com/yuwei0911/p/7682159.html