Extensive/ no checks in Vala according to debug level
This commit is contained in:
parent
ccb60bb8d4
commit
efa2032c5c
1 changed files with 4 additions and 0 deletions
4
wscript
4
wscript
|
@ -322,6 +322,10 @@ def configure (conf):
|
||||||
'-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED '
|
'-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED '
|
||||||
'-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':
|
||||||
|
conf.env.append_value ('VALAFLAGS', '--enable-checking'.split ())
|
||||||
|
elif debug_level == 'none':
|
||||||
|
conf.env.append_value ('VALAFLAGS', '--disable-assert')
|
||||||
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