-
Notifications
You must be signed in to change notification settings - Fork 0
Building
Matthew Smit edited this page Nov 29, 2019
·
4 revisions
- CMake 3.8+
- llvm 8
- Vulkan SDK 1.1.121.0+
- gsl
- glslang
- glm
-
Install CMake
-
Install vcpkg
-
Install Vulkan SDK. Ensure the environmental variable VULKAN_SDK points to this directory.
-
Install vcpkg packages
- If Windows x64:
vcpkg install llvm:x64-windows ms-gsl:x64-windows glm:x64-windows glslang:x64-windows vulkan:x64-windows
- Otherwise:
./vcpkg install llvm ms-gsl glm glslang vulkan
- If Windows x64:
-
Create CPVulkan project.
mkdir build cd build cmake .. -DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake
-
Build
- If Visual Studio: Open CPVulkan.sln and build.
- If Make:
make -j4
-
See usage