meson: Don't forget to define DEBUG!
Changes since v2: - Don't enable by default for debugoptimized builds Signed-off-by: Lyude Paul <lyude@redhat.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
0debe01190
commit
6d7e1d1de0
|
@ -196,6 +196,9 @@ conf_data.set('XvMCExtension', build_xv)
|
|||
|
||||
conf_data.set('HAVE_SHA1_IN_LIBNETTLE', '1') # XXX
|
||||
|
||||
enable_debugging = get_option('buildtype') == 'debug'
|
||||
conf_data.set('DEBUG', enable_debugging)
|
||||
|
||||
conf_data.set_quoted('XVENDORNAME', get_option('vendor_name'))
|
||||
conf_data.set_quoted('XVENDORNAMESHORT', get_option('vendor_name_short'))
|
||||
conf_data.set_quoted('__VENDORDWEBSUPPORT__', get_option('vendor_web'))
|
||||
|
@ -282,7 +285,6 @@ xwin_data.set('HAS_WINSOCK', host_machine.system() == 'windows', description: 'U
|
|||
xwin_data.set('HAS_DEVWINDOWS', host_machine.system() == 'cygwin', description: 'Has /dev/windows for signaling new win32 messages')
|
||||
xwin_data.set('RELOCATE_PROJECTROOT', host_machine.system() == 'windows', description: 'Make paths relative to the xserver installation location')
|
||||
# XXX: these three are all the same as DEBUG so we should just change to that
|
||||
enable_debugging = (get_option('buildtype') == 'debug') or (get_option('buildtype') == 'debugoptimized')
|
||||
xwin_data.set10('CYGDEBUG', enable_debugging)
|
||||
xwin_data.set10('CYGWINDOWING_DEBUG',enable_debugging)
|
||||
xwin_data.set10('CYGMULTIWINDOW_DEBUG', enable_debugging)
|
||||
|
|
Loading…
Reference in New Issue
Block a user