Update README.md

This commit is contained in:
Ben 2022-01-18 23:41:21 +01:00
parent e8cd239a6b
commit 3c8e214f6d
Signed by: ben
GPG Key ID: 0F54A7ED232D3319
2 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/build
/cmake-build-*

View File

@ -7,6 +7,20 @@ and <https://vkguide.dev/> and <https://doc.qt.io/qt-5/>.
Needs cmake 3.21+, C++20 compiler, Qt 5.10+
```shell
cmake -B build
sh -c 'cd build && make'
```
## Usage
ESC to quit
Run in your terminal:
```shell
build/VulkanCppSetup
```
Note: Program needs to be run from the project directory
(parent directory of `shaders`), because the shader files are
loaded based on the working directory.
ESC (or any `QKeySequence::Quit`) to quit