cmake template project for vulkan C++ with GLFW, GLM, STB, TINYOBJLOADER and ImGUI
|
+-- assets (you need to create it)
+-- cmake
| +-- LinkGLFW.cmake
| +-- LinkGLM.cmake
| +-- LinkImGUI.cmake
| +-- LinkSTB.cmake
| +-- LinkTINYOBJLOADER.cmake
|
+-- include
| +-- vulkanbase.h
|
+-- src
| +-- main.cpp
|
+-- CMakeLists.txt
Each cmake sub-macro will fetch the corresponding git dependency and link it to the project.
vulkan
cmake >= 3.11
git
mkdir assets
mkdir build
cd build
cmake ..
mkdir assets
open project with VS