Note: I decided to archive this. It's an old, kind of embarrassing project of mine. I'm now developing a more fleshed out rendering library in a private repository.
Molasses' Vulkan Renderer is licensed under the terms of the MIT license.
Note: The list of dependencies is currently incomplete, sorry!
Dependency | pkgs.org | brew.sh |
---|---|---|
GLFW | ||
Uncrustify | ||
Vulkan |
From the project root directory, you can use CMake to build.
➜ cmake -B bin -DCMAKE_BUILD_TYPE=Release
➜ cmake --build bin -j$(nproc)
Note: If you are unfamiliar with
$(nproc)
; it is a command that prints out how many processing units are available. With the-j
flag we tell CMake to create jobs equal to the number provided by$(nproc)
. If you are on XNU/macOS,$(nproc)
is not available. You should use$(sysctl -n hw.physicalcpu)
instead!
Once CMake finishes, the binaries should be available in the directory
equal to CMake's -B
flag. In the case of the example commands, that should be
in the bin
directory.