mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00: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:
co-authored by
JusicP
nillerusr
parent
2a490d398c
commit
2c6669f5e3
@@ -15,7 +15,7 @@ def configure(conf):
|
||||
conf.define('VGUIMATSURFACE_DLL_EXPORT',1)
|
||||
conf.define('GAMEUI_EXPORTS',1)
|
||||
conf.define('DONT_PROTECT_FILEIO_FUNCTIONS',1)
|
||||
conf.define('PROTECTED_THINGS_ENABLE',1)
|
||||
#conf.define('PROTECTED_THINGS_ENABLE',1) # conflicts with stlport
|
||||
|
||||
|
||||
def build(bld):
|
||||
@@ -38,13 +38,16 @@ def build(bld):
|
||||
'../public',
|
||||
'../public/tier0',
|
||||
'../public/tier1',
|
||||
'../common'
|
||||
] + bld.env.INCLUDES_SDL2 + bld.env.INCLUDES_FREETYPE
|
||||
'../common',
|
||||
]
|
||||
|
||||
defines = []
|
||||
|
||||
libs = ['bitmap','mathlib','tier0','vgui_controls','tier1','vstdlib','tier2','tier3','vgui_surfacelib','FT2','FC','SDL2']
|
||||
|
||||
if bld.env.DEST_OS == 'android':
|
||||
libs += ['EXPAT']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
|
||||
Reference in New Issue
Block a user