2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

engine: wscript: define enabled renderers as macros

This commit is contained in:
Alibek Omarov 2023-03-24 01:50:53 +03:00
parent 762e4da7a0
commit 182d8edb42

View File

@ -126,6 +126,9 @@ def configure(conf):
conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32') conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32')
conf.define_cond('PSAPI_VERSION', conf.env.DEST_OS == 'win32') # will be defined as 1 conf.define_cond('PSAPI_VERSION', conf.env.DEST_OS == 'win32') # will be defined as 1
for refdll in conf.refdlls:
refdll.register_define(conf)
def build(bld): def build(bld):
# public includes for renderers and utils use # public includes for renderers and utils use
bld(name = 'engine_includes', export_includes = '. common common/imagelib', use = 'filesystem_includes') bld(name = 'engine_includes', export_includes = '. common common/imagelib', use = 'filesystem_includes')