mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
build: Add glib_debug option
To allow disabling debug infrastructure in builds with debug symbols.
This commit is contained in:
@@ -5,6 +5,10 @@ GLib's configure options and corresponding macros
|
||||
none
|
||||
--buildtype={debug,debugoptimized} [debugoptimized is the default]
|
||||
-DG_ENABLE_DEBUG -g
|
||||
-Dglib_debug=disabled
|
||||
Omits G_ENABLE_DEBUG when implied by --buildtype/-Ddebug
|
||||
-Dglib_debug=enabled
|
||||
Defines G_ENABLE_DEBUG regardless of --buildtype/-Ddebug
|
||||
-Dglib_asserts=false
|
||||
-DG_DISABLE_ASSERT
|
||||
-Dglib_checks=false
|
||||
|
Reference in New Issue
Block a user