mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
3e494a13f8
Define COGL_HAS_GTYPE_SUPPORT during the preprocessing of the .symbols files so that the _get_gtype symbols can be exported.
103 lines
4.3 KiB
XML
103 lines
4.3 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="coglgensrcsprops"
|
|
InheritedPropertySheets=".\cogl-build-defines.vsprops"
|
|
>
|
|
<UserMacro
|
|
Name="CopyDefinesSDLH"
|
|
Value="
|
|
if exist ..\..\..\cogl\SDL_DEFINES goto DONE_COGL_DEFINES_H

|
|
if not exist ..\..\..\cogl\WGL_DEFINES goto DO_COGL_DEFINES_H

|
|
del ..\..\..\cogl\cogl-defines.h

|
|
del ..\..\..\cogl\WGL_DEFINES

|
|
:DO_COGL_DEFINES_H

|
|
copy ..\..\..\cogl\cogl-defines.h.win32_sdl ..\..\..\cogl\SDL_DEFINES

|
|
copy ..\..\..\cogl\SDL_DEFINES ..\..\..\cogl\cogl-defines.h

|
|
:DONE_COGL_DEFINES_H

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="CopyDefinesH"
|
|
Value="
|
|
if exist ..\..\..\cogl\WGL_DEFINES goto DONE_COGL_DEFINES_H

|
|
if not exist ..\..\..\cogl\SDL_DEFINES goto DO_COGL_DEFINES_H

|
|
del ..\..\..\cogl\cogl-defines.h

|
|
del ..\..\..\cogl\SDL_DEFINES

|
|
:DO_COGL_DEFINES_H

|
|
copy ..\..\..\cogl\cogl-defines.h.win32 ..\..\..\cogl\WGL_DEFINES

|
|
copy ..\..\..\cogl\WGL_DEFINES ..\..\..\cogl\cogl-defines.h

|
|
:DONE_COGL_DEFINES_H

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="CopyConfigH"
|
|
Value="copy ..\..\..\config.h.win32 ..\..\..\config.h"
|
|
/>
|
|
<UserMacro
|
|
Name="CopyGLHeaderH"
|
|
Value="copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h"
|
|
/>
|
|
<UserMacro
|
|
Name="GenCoglPathEnumsH"
|
|
Value="
|
|
cd ..\..\..\cogl-path

|
|
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-path-enum-types.h.in cogl-path-types.h cogl1-path-functions.h > cogl-path-enum-types.h

|
|
cd $(SolutionDir)

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenCoglPathEnumsC"
|
|
Value="
|
|
cd ..\..\..\cogl-path

|
|
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-path-enum-types.c.in cogl-path-types.h cogl1-path-functions.h > cogl-path-enum-types.c

|
|
cd $(SolutionDir)

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenCoglEnumsH"
|
|
Value="
|
|
cd ..\..\..\cogl

|
|
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.h.in deprecated\cogl-clip-state.h deprecated\cogl-fixed.h deprecated\cogl-material-compat.h deprecated\cogl-vertex-buffer.h deprecated\cogl-shader.h deprecated\cogl-clutter.h deprecated\cogl-type-casts.h deprecated\cogl-framebuffer-deprecated.h deprecated\cogl-texture-deprecated.h deprecated\cogl-auto-texture.h cogl1-context.h cogl-bitmap.h cogl-color.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-texture.h cogl-types.h cogl.h cogl-win32-renderer.h > cogl-enum-types.h

|
|
cd $(SolutionDir)

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenCoglEnumsC"
|
|
Value="
|
|
cd ..\..\..\cogl

|
|
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.c.in deprecated\cogl-clip-state.h deprecated\cogl-fixed.h deprecated\cogl-material-compat.h deprecated\cogl-vertex-buffer.h deprecated\cogl-shader.h deprecated\cogl-clutter.h deprecated\cogl-type-casts.h deprecated\cogl-framebuffer-deprecated.h deprecated\cogl-texture-deprecated.h deprecated\cogl-auto-texture.h cogl1-context.h cogl-bitmap.h cogl-color.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-texture.h cogl-types.h cogl.h cogl-win32-renderer.h > cogl-enum-types.c

|
|
cd $(SolutionDir)

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl.def

|
|
cl -EP -DCOGL_HAS_GTYPE_SUPPORT -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglSDLDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl.def

|
|
cl -EP -DCOGL_HAS_GTYPE_SUPPORT -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglPathDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl-path.def

|
|
cl -EP -DCOGL_HAS_GTYPE_SUPPORT ..\..\..\cogl-path\cogl-path.symbols >> $(DefDir)\cogl-path.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglPangoDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl-pango.def

|
|
cl -EP ..\..\..\cogl-pango\cogl-pango.symbols >> $(DefDir)\cogl-pango.def

|
|
"
|
|
/>
|
|
</VisualStudioPropertySheet>
|