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,11 +19,15 @@ def build(bld):
'inputsystem.cpp',
'joystick_sdl.cpp',
'touch_sdl.cpp',
#'novint.cpp', # [$WIN32]
'key_translation.cpp',
'steamcontroller.cpp'
]
if bld.env.DEST_OS == 'win32':
source += [
'novint.cpp'
]
includes = [
'.',
'../common',
@@ -35,6 +39,9 @@ def build(bld):
libs = ['tier0','tier1','tier2','vstdlib','SDL2','steam_api']
if bld.env.DEST_OS == 'win32':
libs += ['USER32']
install_path = bld.env.LIBDIR
bld.shlib(