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:
Chun-wei Fan
2012-05-14 16:18:13 +08:00
parent 193bf6123d
commit ee72d9b4af
9 changed files with 858 additions and 24 deletions

View File

@ -910,6 +910,7 @@ clutter.vsenums_c:
EXTRA_DIST += \
clutter-config.h.win32 \
clutter-config.h.win32_GDK \
clutter.symbols \
$(NULL)

View 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__ */