mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
783bc64a02
Clutter, like GTK+ and GLib, has recently switched to a visibility-based method of exporting symbols, so update the Visual Studio build files to do likewise, by using __declspec (dllexport). This eliminats the need to use a .def file to export the symbols. The pre-configured config.h.win32.in is also updated accordingly for this purpose. The clutter.symbols file can be dropped if it is not being used otherwise.
83 lines
6.6 KiB
XML
83 lines
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="clutter-build-defines.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros">
|
|
<CopyConfigH>copy ..\..\..\clutter\config.h.win32 ..\..\..\clutter\config.h</CopyConfigH>
|
|
<CopyClutterConfigH>
|
|
if exist ..\..\..\clutter\clutter.bld.win32.win32 goto DONE_CLUTTER_CONFIG_H
|
|
|
|
if exist clutter.bld.GDK.win32 del clutter.bld.GDK.win32
|
|
|
|
copy ..\..\..\clutter\clutter-config.h.win32 clutter.bld.win32.win32
|
|
|
|
copy ..\..\..\clutter\clutter-config.h.win32 ..\..\..\clutter\clutter-config.h
|
|
|
|
|
|
:DONE_CLUTTER_CONFIG_H
|
|
</CopyClutterConfigH>
|
|
<CopyClutterConfigGDKH>
|
|
if exist ..\..\..\clutter\clutter.bld.GDK.win32 goto DONE_CLUTTER_CONFIG_H
|
|
|
|
if exist clutter.bld.win32.win32 del clutter.bld.win32.win32
|
|
|
|
copy ..\..\..\clutter\clutter-config.h.win32_GDK clutter.bld.GDK.win32
|
|
|
|
copy ..\..\..\clutter\clutter-config.h.win32_GDK ..\..\..\clutter\clutter-config.h
|
|
|
|
|
|
:DONE_CLUTTER_CONFIG_H
|
|
</CopyClutterConfigGDKH>
|
|
<GenMarshalSrc>
|
|
$(GlibEtcInstallRoot)\bin\glib-genmarshal --prefix=_clutter_marshal --header ..\..\..\clutter\clutter-marshal.list > ..\..\..\clutter\clutter-marshal.h
|
|
|
|
|
|
echo #include "clutter-marshal.h" > ..\..\..\clutter\clutter-marshal.c
|
|
|
|
$(GlibEtcInstallRoot)\bin\glib-genmarshal --prefix=_clutter_marshal --body ..\..\..\clutter\clutter-marshal.list >> ..\..\..\clutter\clutter-marshal.c
|
|
</GenMarshalSrc>
|
|
<EnumHeaders>..\..\..\clutter\clutter-action.h ..\..\..\clutter\clutter-actor-meta.h ..\..\..\clutter\clutter-actor.h ..\..\..\clutter\clutter-align-constraint.h ..\..\..\clutter\clutter-animatable.h ..\..\..\clutter\clutter-backend.h ..\..\..\clutter\clutter-bind-constraint.h ..\..\..\clutter\clutter-binding-pool.h ..\..\..\clutter\clutter-bin-layout.h ..\..\..\clutter\clutter-blur-effect.h ..\..\..\clutter\clutter-box-layout.h ..\..\..\clutter\clutter-brightness-contrast-effect.h ..\..\..\clutter\clutter-cairo.h ..\..\..\clutter\clutter-canvas.h ..\..\..\clutter\clutter-child-meta.h ..\..\..\clutter\clutter-click-action.h ..\..\..\clutter\clutter-cogl-compat.h ..\..\..\clutter\clutter-clone.h ..\..\..\clutter\clutter-color-static.h ..\..\..\clutter\clutter-color.h ..\..\..\clutter\clutter-colorize-effect.h ..\..\..\clutter\clutter-constraint.h ..\..\..\clutter\clutter-container.h ..\..\..\clutter\clutter-content.h ..\..\..\clutter\clutter-deform-effect.h ..\..\..\clutter\clutter-deprecated.h ..\..\..\clutter\clutter-desaturate-effect.h ..\..\..\clutter\clutter-device-manager.h ..\..\..\clutter\clutter-drag-action.h ..\..\..\clutter\clutter-drop-action.h ..\..\..\clutter\clutter-effect.h ..\..\..\clutter\clutter-enums.h ..\..\..\clutter\clutter-event.h ..\..\..\clutter\clutter-feature.h ..\..\..\clutter\clutter-fixed-layout.h ..\..\..\clutter\clutter-flow-layout.h ..\..\..\clutter\clutter-gesture-action.h ..\..\..\clutter\clutter-grid-layout.h ..\..\..\clutter\clutter-group.h ..\..\..\clutter\clutter-image.h ..\..\..\clutter\clutter-input-device.h ..\..\..\clutter\clutter-interval.h ..\..\..\clutter\clutter-keyframe-transition.h ..\..\..\clutter\clutter-keysyms.h ..\..\..\clutter\clutter-layout-manager.h ..\..\..\clutter\clutter-layout-meta.h ..\..\..\clutter\clutter-list-model.h ..\..\..\clutter\clutter-macros.h ..\..\..\clutter\clutter-main.h ..\..\..\clutter\clutter-model.h ..\..\..\clutter\clutter-offscreen-effect.h ..\..\..\clutter\clutter-page-turn-effect.h ..\..\..\clutter\clutter-paint-nodes.h ..\..\..\clutter\clutter-paint-node.h ..\..\..\clutter\clutter-pan-action.h ..\..\..\clutter\clutter-path-constraint.h ..\..\..\clutter\clutter-path.h ..\..\..\clutter\clutter-property-transition.h ..\..\..\clutter\clutter-rotate-action.h ..\..\..\clutter\clutter-script.h ..\..\..\clutter\clutter-scriptable.h ..\..\..\clutter\clutter-scroll-actor.h ..\..\..\clutter\clutter-settings.h ..\..\..\clutter\clutter-shader-effect.h ..\..\..\clutter\clutter-shader-types.h ..\..\..\clutter\clutter-swipe-action.h ..\..\..\clutter\clutter-snap-constraint.h ..\..\..\clutter\clutter-stage.h ..\..\..\clutter\clutter-stage-manager.h ..\..\..\clutter\clutter-tap-action.h ..\..\..\clutter\clutter-test-utils.h ..\..\..\clutter\clutter-texture.h ..\..\..\clutter\clutter-text.h ..\..\..\clutter\clutter-text-buffer.h ..\..\..\clutter\clutter-timeline.h ..\..\..\clutter\clutter-transition-group.h ..\..\..\clutter\clutter-transition.h ..\..\..\clutter\clutter-types.h ..\..\..\clutter\clutter-units.h ..\..\..\clutter\clutter-zoom-action.h ..\..\..\clutter\win32\clutter-win32.h</EnumHeaders>
|
|
<GdkEnumHeader>..\..\..\clutter\gdk\clutter-gdk.h</GdkEnumHeader>
|
|
<GenEnumsSrcH>perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template ..\..\..\clutter\clutter-enum-types.h.in $(EnumHeaders) > ..\..\..\clutter\clutter-enum-types.h</GenEnumsSrcH>
|
|
<GenEnumsSrcC>perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template ..\..\..\clutter\clutter-enum-types.c.in $(EnumHeaders) > ..\..\..\clutter\clutter-enum-types.c</GenEnumsSrcC>
|
|
<GenEnumsSrcGDKH>perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template ..\..\..\clutter\clutter-enum-types.h.in $(EnumHeaders) $(GdkEnumHeader) > ..\..\..\clutter\clutter-enum-types.h</GenEnumsSrcGDKH>
|
|
<GenEnumsSrcGDKC>perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template ..\..\..\clutter\clutter-enum-types.c.in $(EnumHeaders) $(GdkEnumHeader) > ..\..\..\clutter\clutter-enum-types.c</GenEnumsSrcGDKC>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>cluttergensrcsprops</_PropertySheetDisplayName>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<BuildMacro Include="CopyConfigH">
|
|
<Value>$(CopyConfigH)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CopyClutterConfigH">
|
|
<Value>$(CopyClutterConfigH)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CopyClutterConfigGDKH">
|
|
<Value>$(CopyClutterConfigGDKH)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenMarshalSrc">
|
|
<Value>$(GenMarshalSrc)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="EnumHeaders">
|
|
<Value>$(EnumHeaders)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GdkEnumHeader">
|
|
<Value>$(GdkEnumHeader)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenEnumsSrcH">
|
|
<Value>$(GenEnumsSrcC)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenEnumsSrcC">
|
|
<Value>$(GenEnumsSrcC)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenEnumsSrcGDKH">
|
|
<Value>$(GenEnumsSrcGDKH)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenEnumsSrcGDKC">
|
|
<Value>$(GenEnumsSrcGDKC)</Value>
|
|
</BuildMacro>
|
|
</ItemGroup>
|
|
</Project>
|