mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Initial android support (#17)
* Upload Android armv7 libs * Fix debug build * utlvector: fix undefined behavior * wscript: add --use-ccache option * wscript: store ccache in a separate directory * Propertly use gl4es * fontconfig: fix font detection * [android]remove fontconfig dependency * Add build guide for other platforms Co-authored-by: JusicP <slender87844@gmail.com> Co-authored-by: nillerusr <nillerusr@users.noreply.github.com>
This commit is contained in:
@@ -146,6 +146,7 @@ int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL
|
||||
#if defined( LINUX )
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
static bool IsDebuggerPresent( int time )
|
||||
{
|
||||
|
||||
@@ -15,6 +15,8 @@ def configure(conf):
|
||||
return
|
||||
|
||||
def build(bld):
|
||||
if bld.env.DEST_OS == 'android':
|
||||
return
|
||||
|
||||
source = ['main.cpp']
|
||||
includes = ['../public']
|
||||
@@ -22,7 +24,7 @@ def build(bld):
|
||||
libs = []
|
||||
|
||||
if bld.env.DEST_OS != 'win32':
|
||||
libs += [ 'DL' ]
|
||||
libs += [ 'DL', 'LOG' ]
|
||||
else:
|
||||
libs += ['USER32', 'SHELL32']
|
||||
source += ['launcher_main.rc']
|
||||
|
||||
Reference in New Issue
Block a user