This is a template to setting up a new Vulkan C++ project.
- Sources, headers and mains separated in distinct folders
- Use of modern CMake for much easier compiling
- Automatically compile shaders with
glslValidator
- Integrated test suite using Doctest
- Continuous integration via GitHub Actions
- Support Conan package manager to quick install your package
Use the following command to build and run the executable target.
cmake -Bbuild
cmake --build build
./build/bin/VulkanStarterStandalone
Use the following commands from the project's root directory to run the test suite.
cmake -Bbuild
cmake --build build
./build/bin/VulkanStarterTests
- C++17 compiler :
- Visual Studio 2016
- GCC 7+ or Clang 8+
- Conan for install packages
- Git for cmake automatic dependencies
- CMake for build system creation (>= 3.12)
- Doxygen for generate documentation (>= 1.8, optional)
- To include ImGui : with Conan, with Vulkan
- Vulkan code sample : VulkanTutorial, vkSandbox
- Inspirational templates : CppProject, ModernCppStarter