This commit is contained in:
Attila Uygun 2023-08-14 00:14:34 +02:00
parent 001b3b60ec
commit 169e05c970
2 changed files with 5 additions and 11 deletions

View File

@ -11,13 +11,6 @@ based on this engine. Full game code and assets are included in this repository.
**GN build system** is required for all platforms except Android:\
https://gn.googlesource.com/gn/
**Build Tools** is required to build for Windows. if you prefer, you can install
**Visual Studio** which includes the **Build Tools**.
Linux is the supported host platform to build for Android. **Gradle**,
**Android SDK** and **NDK** are required. If you prefer, you can install
**Android Studio** which includes all the requirements.
## Building from the command-line:
### All platforms except Android:
@ -32,14 +25,16 @@ ninja -C out/debug
./out/debug/hello_world
./out/debug/demo
```
Building and debugging from VS Code:
* Select "Debug demo - [platform]" from the "Run and Debug" drop down.
* Press F5.
### Android:
```text
cd build/android
./gradlew :app:installDebug
```
### Generate Visual Studio solution:
```text
gn.exe gen --args="is_debug=true" --ide=vs2022 out\vs
devenv out\vs\all.sln
```
## Third-party libraries:

View File

@ -1,3 +1,2 @@
#pragma clang diagnostic ignored "-Wunused-variable"
#define VMA_IMPLEMENTATION
#include "vk_mem_alloc.h"