Install dependencies for vulkan development from this Vulkan Tutorial
Skip the makefile section as this project uses cmake.
The build script can be modified for a different IDE (Uses CodeLite as is).
I'm currently using Code - OSS with the c++ and cmake extensions from this Tutorial. If you are also running Arch you will need to manually install the C++ extension from Microsoft (They use a different store from what I gather).
sudo pacman -S vulkan-devel
sudo pacman -S glfw-x11
sudo pacman -S glm glew
sudo pacman -S shaderc
sudo pacman -S libxi libxxf86vm
git clone https://github.com/rassweiler/learning-vulkan.git
- Download c++ extension for Code - OSS and install it manually (Install from VSIX menu option).
- Select a compiler kit: Open command menu (ctrl-shift-p) and run
Cmake: Select A Kit
. - Select a build variant: Open command menu (ctrl-shift-p) and run
Cmake: Select Variant
. - Configure Cmake: Open command menu (ctrl-shift-p) and run
Cmake: Configure
. - Build Project: Open command menu (ctrl-shift-p) and run
Cmake: Build
(Or press build button at bottom of window).
If not using Code - OSS then run the cmake command for your generator of choice