game_launch: wscript: fix Windows build
This commit is contained in:
parent
401b145040
commit
7ed0499aa9
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue