Declare G_LOG_DOMAIN for COGL
In order to get properly namespaced debug and warning messages inside COGL code we need to define the G_LOG_DOMAIN macro.
This commit is contained in:
parent
f911a3a7a1
commit
ed991fe3c5
@ -5,6 +5,7 @@ INCLUDES = \
|
|||||||
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
||||||
-I$(top_builddir)/clutter \
|
-I$(top_builddir)/clutter \
|
||||||
-I$(top_builddir)/clutter/cogl \
|
-I$(top_builddir)/clutter/cogl \
|
||||||
|
-DG_LOG_DOMAIN=\"Cogl-Common\" \
|
||||||
-DCLUTTER_COMPILATION \
|
-DCLUTTER_COMPILATION \
|
||||||
$(CLUTTER_CFLAGS) \
|
$(CLUTTER_CFLAGS) \
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
$(CLUTTER_DEBUG_CFLAGS) \
|
||||||
|
@ -20,6 +20,7 @@ INCLUDES = \
|
|||||||
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
||||||
-I$(top_builddir)/clutter \
|
-I$(top_builddir)/clutter \
|
||||||
-I$(top_builddir)/clutter/cogl \
|
-I$(top_builddir)/clutter/cogl \
|
||||||
|
-DG_LOG_DOMAIN=\"Cogl-GL\" \
|
||||||
-DCLUTTER_COMPILATION \
|
-DCLUTTER_COMPILATION \
|
||||||
$(CLUTTER_CFLAGS) \
|
$(CLUTTER_CFLAGS) \
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
$(CLUTTER_DEBUG_CFLAGS) \
|
||||||
|
@ -20,6 +20,7 @@ INCLUDES = \
|
|||||||
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
||||||
-I$(top_builddir)/clutter \
|
-I$(top_builddir)/clutter \
|
||||||
-I$(top_builddir)/clutter/cogl \
|
-I$(top_builddir)/clutter/cogl \
|
||||||
|
-DG_LOG_DOMAIN=\"Cogl-GLES\" \
|
||||||
-DCLUTTER_COMPILATION \
|
-DCLUTTER_COMPILATION \
|
||||||
$(CLUTTER_CFLAGS) \
|
$(CLUTTER_CFLAGS) \
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
$(CLUTTER_DEBUG_CFLAGS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user