-
WASD
— canonically: forward, left, backward, right -
V
— up -
C
— down
- git https://git-scm.com;
- C++17 compatible compiler;
- CMake 3.10+ https://cmake.org/;
- Qt 5 https://www.qt.io/;
- (Optionally) Your favourite IDE;
- (Optionally) Ninja build https://ninja-build.org/.
- GPU with OpenGL 3+ support.
- Clone this repository
git clone <url> <path>
; - Go to root folder
cd <path-to-repo-root>
; - Create and go to build folder
mkdir -p build-release; cd build-release
; - Run CMake
cmake .. -G <generator-name> -DCMAKE_PREFIX_PATH=<path-to-qt-installation> -DCMAKE_BUILD_TYPE=Release
; - Run build. For Ninja generator it looks like
ninja -j<number-of-threads-to-build>
.
- Clone this repository
git clone <url> <path>
; - Open root folder in IDE;
- Build, possibly specify build configurations and path to Qt library.
- Since we link with Qt dynamically don't forget to add
<qt-path>/<abi-arch>/bin
and<qt-path>/<abi-arch>/plugins/platforms
toPATH
variable.