wscript: try to automatically set console subsystem flag depending on target features

Remove subsystem flag from shlibs and stlibs, it's only required for executables.
This commit is contained in:
Alibek Omarov
2024-11-27 15:34:49 +03:00
parent cb3f5a74a8
commit 0154ffa060
10 changed files with 14 additions and 18 deletions

View File

@@ -72,5 +72,4 @@ def build(bld):
includes = includes,
use = libs + v['libs'],
defines = v['defines'] + ['REF_DLL=1'],
install_path = bld.env.LIBDIR,
subsystem = bld.env.MSVC_SUBSYSTEM)
install_path = bld.env.LIBDIR)

View File

@@ -14,6 +14,5 @@ def build(bld):
target = 'ref_null',
defines = 'REF_DLL',
use = 'engine_includes sdk_includes werror',
install_path = bld.env.LIBDIR,
subsystem = bld.env.MSVC_SUBSYSTEM
install_path = bld.env.LIBDIR
)

View File

@@ -26,6 +26,5 @@ def build(bld):
includes = '.',
defines = 'REF_DLL=1',
use = libs,
install_path = bld.env.LIBDIR,
subsystem = bld.env.MSVC_SUBSYSTEM
install_path = bld.env.LIBDIR
)