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.env.append_unique('DEFINES',[
|
||||
'SHADERAPIDX9',
|
||||
'SHADER_DLL_EXPORT',
|
||||
'PROTECTED_THINGS_ENABLE',
|
||||
#'PROTECTED_THINGS_ENABLE', # conflicts with stlport
|
||||
'strncpy=use_Q_strncpy_instead',
|
||||
'_snprintf=use_Q_snprintf_instead',
|
||||
'GL_GLEXT_PROTOTYPES',
|
||||
@@ -58,6 +58,9 @@ def build(bld):
|
||||
|
||||
libs = ['tier0','tier1','tier2','vstdlib','togl','bitmap','mathlib']
|
||||
|
||||
if bld.env.DEST_OS == 'android':
|
||||
libs += ['ANDROID_SUPPORT']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
|
||||
@@ -150,6 +150,9 @@ def build(bld):
|
||||
|
||||
libs = ['tier0','shaderlib','tier1','mathlib']
|
||||
|
||||
if bld.env.DEST_OS == 'android':
|
||||
libs += ['ANDROID_SUPPORT']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
|
||||
@@ -15,7 +15,7 @@ def configure(conf):
|
||||
conf.env.append_unique('DEFINES',[
|
||||
'DEFINE_MATERIALSYSTEM_INTERFACE',
|
||||
'MATERIALSYSTEM_EXPORTS',
|
||||
'PROTECTED_THINGS_ENABLE',
|
||||
#'PROTECTED_THINGS_ENABLE', # conflicts with stlport
|
||||
'strncpy=use_Q_strncpy_instead',
|
||||
'_snprintf=use_Q_snprintf_instead'
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user