mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
game_launch: wscript: fix Windows build
This commit is contained in:
parent
401b145040
commit
7ed0499aa9
@ -22,13 +22,15 @@ def configure(conf):
|
|||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
libs = ['sdk_includes']
|
libs = ['sdk_includes']
|
||||||
|
source = ['game.cpp']
|
||||||
|
|
||||||
if bld.env.DEST_OS != 'win32':
|
if bld.env.DEST_OS != 'win32':
|
||||||
libs += [ 'DL' ]
|
libs += [ 'DL' ]
|
||||||
else:
|
else:
|
||||||
libs += ['USER32', 'SHELL32']
|
libs += ['USER32', 'SHELL32']
|
||||||
source += ['game.rc']
|
source += ['game.rc']
|
||||||
|
|
||||||
bld(source = 'game.cpp',
|
bld(source = source,
|
||||||
target = 'xash3d', # hl.exe
|
target = 'xash3d', # hl.exe
|
||||||
features = 'c cxx cxxprogram',
|
features = 'c cxx cxxprogram',
|
||||||
use = libs,
|
use = libs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user