From 0ed939196998f9947bf8d2529ddf23ae789c33e8 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 10 Sep 2022 19:56:12 +0300 Subject: [PATCH] filesystem: wscript: add dummy filesystem_includes target that only exposes public filesystem_stdio include paths --- filesystem/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesystem/wscript b/filesystem/wscript index 8a4e421a..2b8d8a8b 100644 --- a/filesystem/wscript +++ b/filesystem/wscript @@ -15,10 +15,10 @@ def configure(conf): conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:] def build(bld): + bld(name = 'filesystem_includes', export_includes = '.') bld.shlib(target = 'filesystem_stdio', features = 'cxx', source = bld.path.ant_glob(['*.c', '*.cpp']), - includes = ['.', '../common', '../public', '../engine'], - use = ['public'], + use = 'filesystem_includes public', install_path = bld.env.LIBDIR, subsystem = bld.env.MSVC_SUBSYSTEM)