Add mainui_cpp. Use appropriate message in vgui_support's wscript.

This commit is contained in:
Alibek Omarov 2018-05-28 23:47:38 +03:00
parent aa5d52cebc
commit fac536f8c4
4 changed files with 6 additions and 3 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "mainui"]
path = mainui
url = https://github.com/FWGS/mainui_cpp

1
mainui Submodule

@ -0,0 +1 @@
Subproject commit a1c3ad25311549999f67dd2a9bc8f5d153bf9355

View File

@ -40,7 +40,7 @@ def configure(conf):
conf.env.HAVE_VGUI = 1
Logs.info('VGUI configured as {0}, {1}, {2}'.format(conf.env.LIB_VGUI, conf.env.LIBPATH_VGUI, conf.env.INCLUDES_VGUI))
conf.msg('Checking VGUI', '{0}, {1}, {2}'.format(conf.env.LIB_VGUI, conf.env.LIBPATH_VGUI, conf.env.INCLUDES_VGUI))
def get_subproject_name(ctx):
return os.path.basename(os.path.realpath(str(ctx.path)))

View File

@ -21,7 +21,7 @@ def get_git_version():
VERSION = '0.99'
APPNAME = 'xash3d-fwgs'
GIT_SHA = get_git_version()
SUBDIRS = [ 'game_launch', 'vgui_support', 'engine' ]
SUBDIRS = [ 'game_launch', 'vgui_support', 'engine', 'mainui' ]
top = '.'
@ -72,7 +72,6 @@ def configure(conf):
else:
conf.env.append_unique('CFLAGS', '-Og')
conf.env.append_unique('CFLAGS', '-g')
conf.check( lib='dl' )
conf.check( lib='m' )