|
|
@ -11,11 +11,19 @@ The main purpose of this repository is to port the engine for other platforms. |
|
|
|
* replace current buildsystem with waf |
|
|
|
* replace current buildsystem with waf |
|
|
|
* rewrite achivement system( to work without steam ) |
|
|
|
* rewrite achivement system( to work without steam ) |
|
|
|
# How to Build? |
|
|
|
# How to Build? |
|
|
|
On Linux: |
|
|
|
|
|
|
|
1. Clone repo ( ```git clone https://github.com/nillerusr/source-engine```) |
|
|
|
1. Clone repo ( ```git clone https://github.com/nillerusr/source-engine```) |
|
|
|
2. Run ```git submodule init && git submodule update``` |
|
|
|
2. Run ```git submodule init && git submodule update``` |
|
|
|
3. Build |
|
|
|
|
|
|
|
|
|
|
|
On Linux: |
|
|
|
``` |
|
|
|
``` |
|
|
|
./waf configure -T debug |
|
|
|
./waf configure -T debug |
|
|
|
./waf build |
|
|
|
./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)** |
|
|
|