Browse Source

ref: soft: convert to include targets usage

pull/2/head
Alibek Omarov 2 years ago
parent
commit
dedc144b8b
  1. 21
      ref/soft/wscript

21
ref/soft/wscript

@ -25,26 +25,11 @@ def build(bld):
if bld.env.DEDICATED: if bld.env.DEDICATED:
return return
libs = [ 'public', 'M' ] bld.shlib(source = bld.path.ant_glob(['*.c']),
source = bld.path.ant_glob(['*.c'])
includes = ['.',
'../filesystem',
'../engine',
'../engine/common',
'../engine/server',
'../engine/client',
'../public',
'../common',
'../pm_shared' ]
bld.shlib(
source = source,
target = 'ref_soft', target = 'ref_soft',
features = 'c', features = 'c',
includes = includes, includes = '.',
use = libs, use = 'engine_includes public M',
install_path = bld.env.LIBDIR, install_path = bld.env.LIBDIR,
subsystem = bld.env.MSVC_SUBSYSTEM subsystem = bld.env.MSVC_SUBSYSTEM
) )

Loading…
Cancel
Save