From 182d8edb42b4a84d62b3548b6c86d19990052286 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 24 Mar 2023 01:50:53 +0300 Subject: [PATCH] engine: wscript: define enabled renderers as macros --- engine/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/wscript b/engine/wscript index e574ad17..911cde93 100644 --- a/engine/wscript +++ b/engine/wscript @@ -126,6 +126,9 @@ def configure(conf): conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32') 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): # public includes for renderers and utils use bld(name = 'engine_includes', export_includes = '. common common/imagelib', use = 'filesystem_includes')