Fix Windows build with WAF

This commit is contained in:
JusicP
2022-03-19 14:40:11 +02:00
parent b296444d0c
commit edbe1baceb
31 changed files with 361 additions and 126 deletions

View File

@@ -19,9 +19,13 @@ def build(bld):
'../public/filesystem_init.cpp',
'launcher.cpp',
'reslistgenerator.cpp',
'android.cpp'
]
if bld.env.DEST_OS == 'android':
source += [
'android.cpp'
]
includes = [
'.',
'../public',
@@ -33,6 +37,9 @@ def build(bld):
defines = []
libs = ['tier0','tier1','tier2','tier3','vstdlib','steam_api','appframework','SDL2','togl']
if bld.env.DEST_OS == 'win32':
libs += ['USER32', 'OLE32', 'SHELL32']
install_path = bld.env.LIBDIR