Fix build with waf.

This commit is contained in:
Andrey Akhmichin 2024-03-01 08:32:57 +05:00
parent f13e737ca9
commit 65de7cc51d
2 changed files with 5 additions and 4 deletions

View File

@ -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',

View File

@ -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')