mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Visual C++ support: Add support to build GDK backend
-Add configuration in Clutter projects to add option to build Clutter with the GDK3 backend in addition to the Win32 backend -Add another preconfigured clutter-config.h.win32_GDK which contains backend configs for both GDK3 and Win32 windowing and input.
This commit is contained in:
@ -910,6 +910,7 @@ clutter.vsenums_c:
|
||||
|
||||
EXTRA_DIST += \
|
||||
clutter-config.h.win32 \
|
||||
clutter-config.h.win32_GDK \
|
||||
clutter.symbols \
|
||||
$(NULL)
|
||||
|
||||
|
20
clutter/clutter-config.h.win32_GDK
Normal file
20
clutter/clutter-config.h.win32_GDK
Normal file
@ -0,0 +1,20 @@
|
||||
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
||||
#error "Only <clutter/clutter.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#ifndef __CLUTTER_CONFIG_H__
|
||||
#define __CLUTTER_CONFIG_H__
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define CLUTTER_WINDOWING_WIN32 "win32"
|
||||
#define CLUTTER_INPUT_WIN32 "win32"
|
||||
#define CLUTTER_WINDOWING_GDK "gdk"
|
||||
#define CLUTTER_INPUT_GDK "gdk"
|
||||
#define CLUTTER_INPUT_NULL "null"
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CLUTTER_CONFIG_H__ */
|
Reference in New Issue
Block a user