mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Fix Windows build with WAF
This commit is contained in:
@@ -21,7 +21,6 @@ def build(bld):
|
||||
'BasePanel.cpp',
|
||||
'GameConsole.cpp',
|
||||
'GameUI_Interface.cpp',
|
||||
# 'LogoFile.cpp', [!$POSIX]
|
||||
'ModInfo.cpp',
|
||||
'MouseMessageForwardingPanel.cpp',
|
||||
'../common/GameUI/ObjectList.cpp',
|
||||
@@ -66,7 +65,6 @@ def build(bld):
|
||||
'LoadCommentaryDialog.cpp',
|
||||
'LoadingDialog.cpp',
|
||||
'BaseSaveGameDialog.cpp',
|
||||
#'ChangeGameDialog.cpp', [!$POSIX]
|
||||
'CreateMultiplayerGameBotPage.cpp',
|
||||
'CreateMultiplayerGameDialog.cpp',
|
||||
'CreateMultiplayerGameGameplayPage.cpp',
|
||||
@@ -87,7 +85,6 @@ def build(bld):
|
||||
'OptionsSubAudio.cpp',
|
||||
'OptionsSubDifficulty.cpp',
|
||||
'OptionsSubGame.cpp',
|
||||
#'OptionsSubHaptics.cpp', [$WIN32] [$WIN32]
|
||||
'OptionsSubKeyboard.cpp',
|
||||
'OptionsSubMouse.cpp',
|
||||
'OptionsSubMultiplayer.cpp',
|
||||
@@ -96,6 +93,14 @@ def build(bld):
|
||||
'OptionsSubVoice.cpp',
|
||||
]
|
||||
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
source += [
|
||||
'../public/tier0/memoverride.cpp',
|
||||
'LogoFile.cpp',
|
||||
'ChangeGameDialog.cpp',
|
||||
'OptionsSubHaptics.cpp'
|
||||
]
|
||||
|
||||
includes = [
|
||||
'.',
|
||||
'../public',
|
||||
@@ -109,6 +114,9 @@ def build(bld):
|
||||
|
||||
libs = ['tier0','vgui_controls','tier1','tier2','tier3','vstdlib','vtf','bitmap','mathlib','SDL2','steam_api','matsys_controls','JPEG','PNG','ZLIB']
|
||||
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
libs += ['USER32', 'GDI32']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
|
||||
Reference in New Issue
Block a user