Update README.md
This commit is contained in:
parent
e8cd239a6b
commit
3c8e214f6d
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/build
|
||||
/cmake-build-*
|
||||
|
|
16
README.md
16
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue