Visual Studio Projects: Use Custom Build Rules

Use custom build rules to generate the enumeration sources and the .def
files so that the IDE will regenerate those files upon change and
clean them when a clean up request is requested.
This commit is contained in:
Chun-wei Fan 2013-08-26 18:39:02 +08:00
parent 8d7a9d606a
commit f2d785e22b
6 changed files with 308 additions and 84 deletions

View File

@ -13,4 +13,7 @@
<ItemGroup>
#include "coglpango.vs10.sourcefiles.filters"
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\cogl-pango\cogl-pango.symbols"><Filter>Resource Files</Filter></CustomBuild>
</ItemGroup>
</Project>

View File

@ -82,9 +82,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglPangoDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -110,9 +107,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglPangoDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -138,9 +132,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglPangoDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -165,9 +156,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglPangoDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -183,6 +171,22 @@
<ItemGroup>
#include "coglpango.vs10.sourcefiles"
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\cogl-pango\cogl-pango.symbols">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating $(IntDir)\cogl-pango.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenerateCoglPangoDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\cogl-pango.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating $(IntDir)\cogl-pango.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenerateCoglPangoDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\cogl-pango.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating $(IntDir)\cogl-pango.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenerateCoglPangoDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\cogl-pango.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating $(IntDir)\cogl-pango.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenerateCoglPangoDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\cogl-pango.def;%(Outputs)</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\..\cogl-pango\cogl-pango.rc" />
</ItemGroup>

View File

@ -29,4 +29,9 @@
<ClCompile Include="..\..\..\cogl\driver\gl\cogl-texture-2d-gl.c"><Filter>Sources\Driver_GL</Filter></ClCompile>
<ClCompile Include="..\..\..\cogl\driver\gl\cogl-util-gl.c"><Filter>Sources\Driver_GL</Filter></ClCompile>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\cogl\cogl.symbols"><Filter>Resource Files</Filter></CustomBuild>
<CustomBuild Include="..\..\..\cogl\cogl-enum-types.h.in"><Filter>Resource Files</Filter></CustomBuild>
<CustomBuild Include="..\..\..\cogl\cogl-enum-types.c.in"><Filter>Resource Files</Filter></CustomBuild>
</ItemGroup>
</Project>

View File

@ -143,9 +143,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -175,9 +172,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglSDLDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -207,9 +201,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -239,9 +230,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglSDLDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -271,9 +259,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -305,9 +290,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglSDLDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -336,9 +318,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -367,9 +346,6 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PreLinkEvent>
<Command>$(GenerateCoglSDLDef)</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>SDL.lib;opengl32.lib;intl.lib;cairo.lib;gdk_pixbuf-2.0.lib;gmodule-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll</OutputFile>
@ -408,6 +384,86 @@
<ClCompile Include="..\..\..\cogl\driver\gl\cogl-texture-2d-gl.c" />
<ClCompile Include="..\..\..\cogl\driver\gl\cogl-util-gl.c" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\cogl\cogl.symbols">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating $(IntDir)\cogl.def</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenerateCoglDef)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)\cogl.def;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="..\..\..\cogl\cogl-enum-types.h.in">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating ..\..\..\cogl\cogl-enum-types.h</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenCoglEnumsH)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\cogl\cogl-enum-types.h;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="..\..\..\cogl\cogl-enum-types.c.in">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|Win32'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_SDL|x64'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_SDL|Win32'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_SDL|x64'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating ..\..\..\cogl\cogl-enum-types.c</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenCoglEnumsC)</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\cogl\cogl-enum-types.c;%(Outputs)</Outputs>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\..\cogl\cogl.rc" />
</ItemGroup>

View File

@ -40,10 +40,6 @@
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglPangoDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
@ -77,10 +73,6 @@
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglPangoDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
@ -115,10 +107,6 @@
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglPangoDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
@ -151,10 +139,6 @@
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglPangoDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
@ -186,6 +170,36 @@
>
</Filter>
<Filter Name="Resource Files">
<File RelativePath="..\..\..\cogl-pango\cogl-pango.symbols">
<FileConfiguration Name="Debug|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl-pango.def"
CommandLine="$(GenerateCoglPangoDef)&#x0D;&#x0A;"
Outputs="$(IntDir)\cogl-pango.def"
/>
</FileConfiguration>
<FileConfiguration Name="Release|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl-pango.def"
CommandLine="$(GenerateCoglPangoDef)&#x0D;&#x0A;"
Outputs="$(IntDir)\cogl-pango.def"
/>
</FileConfiguration>
<FileConfiguration Name="Debug|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl-pango.def"
CommandLine="$(GenerateCoglPangoDef)&#x0D;&#x0A;"
Outputs="$(IntDir)\cogl-pango.def"
/>
</FileConfiguration>
<FileConfiguration Name="Release|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl-pango.def"
CommandLine="$(GenerateCoglPangoDef)&#x0D;&#x0A;"
Outputs="$(IntDir)\cogl-pango.def"
/>
</FileConfiguration>
</File>
<File RelativePath="..\..\..\cogl-pango\cogl-pango.rc" />
</Filter>
</Files>

View File

@ -44,10 +44,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -86,10 +82,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglSDLDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="SDL.lib opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -127,10 +119,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -169,10 +157,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglSDLDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="SDL.lib opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -211,10 +195,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -256,10 +236,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglSDLDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="SDL.lib opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -296,10 +272,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -337,10 +309,6 @@ $(PreBuildCmd)
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="$(GenerateCoglSDLDef)"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="SDL.lib opengl32.lib intl.lib cairo.lib gdk_pixbuf-2.0.lib gmodule-2.0.lib"
@ -396,6 +364,180 @@ $(PreBuildCmd)
>
</Filter>
<Filter Name="Resource Files">
<File RelativePath="..\..\..\cogl\cogl.symbols">
<FileConfiguration Name="Debug|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Debug_SDL|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglSDLDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Release|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Release_SDL|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglSDLDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Debug|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Debug_SDL|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglSDLDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Release|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
<FileConfiguration Name="Release_SDL|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating $(IntDir)\cogl.def"
CommandLine="$(GenerateCoglSDLDef)"
Outputs="$(IntDir)\cogl.def"
/>
</FileConfiguration>
</File>
<File RelativePath="..\..\..\cogl\cogl-enum-types.h.in">
<FileConfiguration Name="Debug|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Debug_SDL|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Release|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Release_SDL|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Debug|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Debug_SDL|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Release|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
<FileConfiguration Name="Release_SDL|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.h"
CommandLine="$(GenCoglEnumsH)"
Outputs="..\..\..\cogl\cogl-enum-types.h"
/>
</FileConfiguration>
</File>
<File RelativePath="..\..\..\cogl\cogl-enum-types.c.in">
<FileConfiguration Name="Debug|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Debug_SDL|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Release|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Release_SDL|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Debug|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Debug_SDL|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Release|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
<FileConfiguration Name="Release_SDL|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating ..\..\..\cogl\cogl-enum-types.c"
CommandLine="$(GenCoglEnumsC)"
Outputs="..\..\..\cogl\cogl-enum-types.c"
/>
</FileConfiguration>
</File>
<File RelativePath="..\..\..\cogl\cogl.rc" />
</Filter>
</Files>