Add build guide for other platforms

This commit is contained in:
JusicP 2021-09-02 16:24:05 +03:00 committed by GitHub
parent 64420781a1
commit bf94043881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,19 @@ The main purpose of this repository is to port the engine for other platforms.
* replace current buildsystem with waf
* rewrite achivement system( to work without steam )
# How to Build?
On Linux:
1. Clone repo ( ```git clone https://github.com/nillerusr/source-engine```)
2. Run ```git submodule init && git submodule update```
3. Build
On Linux:
```
./waf configure -T debug
./waf build
```
On Linux for Android(**Note: only Android NDK r10e is supported**):
```
export ANDROID_NDK=/path/to/ndk
./waf configure -T debug --android=armeabi-v7a,4.9,21
./waf build
```
On Windows:
**TODO(WAF is not configured for Windows. Use VPC as temporary solution)**