/LearningVulkan

A repository for learning the Vulkan API.

Primary LanguageCMakeMIT LicenseMIT

LearningVulkan

A repository to better understand and explain Vulkan.

Branches

Branches are used to demonstrate specific Vulkan concepts, building step by step from the basics to more advanced topics.

Building the Project

This project uses CMake. Follow these steps to build:

1. Clone the Repository

git clone https://github.com/Masonlet/LearningVulkan.git
cd LearningVulkan

2. Create a Build Directory and Generate Build Files

mkdir build
cd build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..

-DCMAKE_EXPORT_COMPILE_COMMANDS=ON flag generates a compile_commands.json file Can be safely omitted on Windows if you're using Visual Studio

3. Build the Project

  • Linux:

    make
  • Windows:

    cmake --build .

    Or open the generated .sln file in Visual Studio and build the solution.