From dedc144b8b79833bcffa3b2e5896dab01634c88e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 10 Sep 2022 20:05:45 +0300 Subject: [PATCH] ref: soft: convert to include targets usage --- ref/soft/wscript | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/ref/soft/wscript b/ref/soft/wscript index 9504cd84..e5cf7ca2 100644 --- a/ref/soft/wscript +++ b/ref/soft/wscript @@ -25,26 +25,11 @@ def build(bld): if bld.env.DEDICATED: return - libs = [ 'public', 'M' ] - - source = bld.path.ant_glob(['*.c']) - - includes = ['.', - '../filesystem', - '../engine', - '../engine/common', - '../engine/server', - '../engine/client', - '../public', - '../common', - '../pm_shared' ] - - bld.shlib( - source = source, + bld.shlib(source = bld.path.ant_glob(['*.c']), target = 'ref_soft', features = 'c', - includes = includes, - use = libs, + includes = '.', + use = 'engine_includes public M', install_path = bld.env.LIBDIR, subsystem = bld.env.MSVC_SUBSYSTEM )