2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-08 01:16:18 +01:00

ref: soft: convert to include targets usage

This commit is contained in:
Alibek Omarov 2022-09-10 20:05:45 +03:00
parent 6d37398fad
commit dedc144b8b

View File

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