mirror of https://github.com/FWGS/hlsdk-xash3d
Fix build with waf.
This commit is contained in:
parent
f13e737ca9
commit
65de7cc51d
|
@ -20,7 +20,7 @@ def configure(conf):
|
|||
conf.fatal("Could not find hl.def")
|
||||
|
||||
def build(bld):
|
||||
excluded_files = ['mpstubb.cpp', 'stats.cpp', 'Wxdebug.cpp']
|
||||
excluded_files = ['mpstubb.cpp', 'stats.cpp', 'Wxdebug.cpp', 'egon.cpp', 'observer.cpp', 'bubblemod/BMOD_hornetgun.cpp']
|
||||
|
||||
source = bld.path.ant_glob('**/*.cpp', excl=excluded_files)
|
||||
source += bld.path.parent.ant_glob('pm_shared/*.c')
|
||||
|
@ -33,6 +33,7 @@ def build(bld):
|
|||
|
||||
includes = [
|
||||
'.',
|
||||
'bubblemod',
|
||||
'../common',
|
||||
'../engine',
|
||||
'../pm_shared',
|
||||
|
|
6
wscript
6
wscript
|
@ -33,7 +33,7 @@ def options(opt):
|
|||
help = 'Enable VOICE MANAGER')
|
||||
|
||||
opt.add_subproject('dlls')
|
||||
opt.add_subproject('cl_dll')
|
||||
# opt.add_subproject('cl_dll')
|
||||
|
||||
def configure(conf):
|
||||
conf.load('fwgslib reconfigure compiler_optimizations')
|
||||
|
@ -241,7 +241,7 @@ def configure(conf):
|
|||
|
||||
conf.load('library_naming')
|
||||
conf.add_subproject('dlls')
|
||||
conf.add_subproject('cl_dll')
|
||||
# conf.add_subproject('cl_dll')
|
||||
|
||||
def build(bld):
|
||||
if bld.is_install and not bld.options.destdir:
|
||||
|
@ -253,4 +253,4 @@ def build(bld):
|
|||
quiet=True, generator=True)
|
||||
|
||||
bld.add_subproject('dlls')
|
||||
bld.add_subproject('cl_dll')
|
||||
# bld.add_subproject('cl_dll')
|
||||
|
|
Loading…
Reference in New Issue