Contains source code created during rendering course.
- Visual Studio C++ Compiler
- Windows SDK 10.0.22621.0 or newer
- CMake 3.5.0 or newer
# Configure
cmake -S . -B build/ -A x64
# Build
cmake --build build/ --config <Debug|Release> --parallel 4
# Build shaders only
cmake --build build/ --config <Debug|Release> --parallel 4 --target Shaders
# Clean
cmake --build build/ --target clean
In .vscode/tasks.json
are prepared tasks for Visual Studio Code, in order to build, clean, etc. just open command palette and select Tasks: Run Task or Tasks: Run Build Task.
Important
Currently tested only with latest 2022 version.
- Make sure C++ CMake tools for Windows are installed using Visual Studio Installer
- Open Visual Studio
- Select Open a local folder
- Navigate to cloned repository folder and select it
- Visual Studio should detect CMake project by itself
Executable is emitted inside build/<Configuration>/
directory, where Configuration
could be Debug
or Release
.