Enable Vala debug symbols and disable deprecations
This commit is contained in:
parent
a023dc5471
commit
e420c36860
1 changed files with 4 additions and 1 deletions
5
wscript
5
wscript
|
@ -301,9 +301,12 @@ def configure (conf):
|
||||||
'-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED '
|
'-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED '
|
||||||
'-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE'.split ())
|
'-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE'.split ())
|
||||||
if debug_level == 'full':
|
if debug_level == 'full':
|
||||||
conf.env.append_value ('VALAFLAGS', '--enable-checking'.split ())
|
conf.env.append_value ('VALAFLAGS', '--debug --enable-checking'.split ())
|
||||||
|
elif debug_level == 'debug':
|
||||||
|
conf.env.append_value ('VALAFLAGS', '--debug'.split ())
|
||||||
elif debug_level == 'none':
|
elif debug_level == 'none':
|
||||||
conf.env.append_value ('VALAFLAGS', '--disable-assert')
|
conf.env.append_value ('VALAFLAGS', '--disable-assert')
|
||||||
|
conf.env.append_value ('VALAFLAGS', '--enable-deprecated')
|
||||||
print ('''
|
print ('''
|
||||||
Localization: %(nls)s (intltool)
|
Localization: %(nls)s (intltool)
|
||||||
Icon optimizations: %(icons)s (rsvg-convert)
|
Icon optimizations: %(icons)s (rsvg-convert)
|
||||||
|
|
Loading…
Reference in a new issue