mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 10:30:00 +00:00
engine: wscript: don't build external launcher for Android and disable main()
This commit is contained in:
parent
dec1b8dfb4
commit
e06b7412ac
@ -91,22 +91,18 @@ def build(bld):
|
||||
includes = ['common', 'server', 'client', 'client/vgui', '.', '../public', '../common', '../pm_shared' ]
|
||||
|
||||
if bld.env.SINGLE_BINARY:
|
||||
bld(
|
||||
source = source,
|
||||
target = 'xash',
|
||||
features = 'c cprogram',
|
||||
includes = includes,
|
||||
use = libs,
|
||||
install_path = bld.env.BINDIR,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM
|
||||
)
|
||||
install_path = bld.env.BINDIR
|
||||
features = 'c cprogram'
|
||||
else:
|
||||
bld.shlib(
|
||||
source = source,
|
||||
target = 'xash',
|
||||
features = 'c',
|
||||
includes = includes,
|
||||
use = libs,
|
||||
install_path = bld.env.LIBDIR,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM
|
||||
)
|
||||
install_path = bld.env.LIBDIR
|
||||
features = 'c cshlib'
|
||||
|
||||
bld(
|
||||
source = source,
|
||||
target = 'xash',
|
||||
features = features,
|
||||
includes = includes,
|
||||
use = libs,
|
||||
install_path = install_path,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM
|
||||
)
|
||||
|
7
wscript
7
wscript
@ -103,7 +103,6 @@ def configure(conf):
|
||||
conf.options.NANOGL = True
|
||||
conf.options.GLWES = True
|
||||
conf.options.GL = False
|
||||
conf.options.SINGLE_BINARY = True
|
||||
|
||||
# print(conf.options.ALLOW64)
|
||||
|
||||
@ -201,6 +200,9 @@ def configure(conf):
|
||||
if conf.env.SINGLE_BINARY and i.singlebin:
|
||||
continue
|
||||
|
||||
if conf.env.DEST_OS2 == 'android' and i.singlebin:
|
||||
continue
|
||||
|
||||
if conf.env.DEDICATED and i.dedicated:
|
||||
continue
|
||||
|
||||
@ -211,6 +213,9 @@ def build(bld):
|
||||
if bld.env.SINGLE_BINARY and i.singlebin:
|
||||
continue
|
||||
|
||||
if conf.env.DEST_OS2 == 'android' and i.singlebin:
|
||||
continue
|
||||
|
||||
if bld.env.DEDICATED and i.dedicated:
|
||||
continue
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user