Skip to content

cmake template project for vulkan C++ with GLFW, GLM, STB, TINYOBJLOADER and ImGUI

Notifications You must be signed in to change notification settings

eharquin/vulkan-cmake-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulkan-cmake-template

cmake template project for vulkan C++ with GLFW, GLM, STB, TINYOBJLOADER and ImGUI

Structure of the project

|
+-- 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.

How to start

Requirements

vulkan
cmake >= 3.11
git

Linux

mkdir assets
mkdir build
cd build
cmake ..

Windows Visual Studio

mkdir assets
open project with VS

About

cmake template project for vulkan C++ with GLFW, GLM, STB, TINYOBJLOADER and ImGUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published