JolifantoBambla / Auto-Vk-Starter

A template for projects using the Auto-Vk library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-Vk-Starter

Build (GCC/Clang/MSVC)

A template for projects using the Auto-Vk library.

Setup

Use this template

Click on the Button near the top of the page to generate your own project using this template. Then simply clone your newly created project.

Install dependencies

Build & Run

Linux

Within the directory to which you cloned your project and run the following commands:

mkdir build
cd build
cmake .. && make
./Auto-Vk-Starter

Windows/Visual Studio 2019

Make sure you have installed CMake tools for Visual Studio.

Open the directory which contains your project with Visual Studio, wait for Visual Studio to run the CMake configuration and then select Auto_Vk_Starter.exe/<Your Project Name>.exe as Startup Item and run it by pressing the "play" button.

Memory Allocation

If you want to enable VMA for Auto-Vk all you need to do is set the avkStarter_UseVMA (CMake) option to ON. This will automatically #define AVK_USE_VMA, so you don't need to set it explicitly in your source files.

Found a bug?

If you found a bug in the template (i.e. in the provided src/main.cpp, the CMake or GitHub workflow files) please open an issue directly in the template project.

However, if the bug you found is in Auto-Vk, please create the issue directly over there.

See also

About

A template for projects using the Auto-Vk library.

License:MIT License


Languages

Language:C++ 79.3%Language:CMake 20.7%