git clone https://github.com/fangshufeng/LearnOpenGL.git
目录如下
|-blogs
|-CMakeLists.txt
|-Glitter
|-README.md
|-Samples
cd Glitter
mkdir Vendor
cd Vendor
git clone https://github.com/assimp/assimp.git
git clone -b c https://github.com/Dav1dde/glad.git
git clone https://github.com/glfw/glfw.git
git clone https://github.com/g-truc/glm.git
git clone https://github.com/nothings/stb.git
git clone https://github.com/bulletphysics/bullet3.git bullet
回到项目目录
cd ../..
执行下面的命令
mkdir Build
cd Build
cmake -G "Xcode" ../.
添加Source
文件夹,打开任意你想运行的.cpp
文件,比如16-模型加载/LoadModel.cpp
运行结果
记录自己学习过程中的一些心得,可以见blogs
目录下