mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
72f992effe
-The test program and examples must be linked to SDL too when COGL is built with the SDL renderer, so add configs accordingly. -Also use Multibyte character sets (i.e. don't -DUNICODE) for all configs, like what GLib does, for consistency. -Fix the VS2010 property sheets that was accidently malformed. (cherry picked from commit 9ed541b4e35208df87ffaa5fbbb39e11e8c247ef)
398 lines
12 KiB
XML
398 lines
12 KiB
XML
<?xml version="1.0" encoding="big5"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="cogl"
|
|
ProjectGUID="{F3A80987-5411-43DB-A23B-06F2076E1206}"
|
|
RootNamespace="cogl"
|
|
Keyword="Win32Proj"
|
|
TargetFrameworkVersion="196613"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
<Platform
|
|
Name="x64"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefines)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="2"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug_SDL|Win32"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Debug\$(PlatformName)\bin"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefinesSDL)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="2"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug|x64"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefines)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="2"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug_SDL|x64"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Debug\$(PlatformName)\bin"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefinesSDL)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="2"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefines)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="2"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
EnableIntrinsicFunctions="true"
|
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="1"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release_SDL|Win32"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Release\$(PlatformName)\bin"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefinesSDL)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="2"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
EnableIntrinsicFunctions="true"
|
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="1"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|x64"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefines)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="2"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release_SDL|x64"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Release\$(PlatformName)\bin"
|
|
ConfigurationType="2"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
$(DoDefinesSDL)
|
|
$(PreBuildCmd)
|
|
"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl"
|
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
UsePrecompiledHeader="0"
|
|
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"
|
|
OutputFile="$(OutDir)\$(CoglDllPrefix)$(ProjectName)$(CoglDllSuffix).dll"
|
|
LinkIncremental="2"
|
|
ModuleDefinitionFile="..\..\..\cogl\cogl.def"
|
|
ImportLibrary="$(TargetDir)$(ProjectName)-$(CoglApiVersion).lib"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="2"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
<Filter Name="Sources"
|
|
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
|
>
|
|
<File RelativePath="..\..\..\cogl\winsys\cogl-winsys-wgl.c" />
|
|
<File RelativePath="..\..\..\cogl\winsys\cogl-winsys-sdl.c" >
|
|
<FileConfiguration Name="Debug|Win32" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
<FileConfiguration Name="Release|Win32" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
<FileConfiguration Name="Debug|x64" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
<FileConfiguration Name="Release|x64" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
</File>
|
|
<File RelativePath="..\..\..\cogl\cogl-sdl.c" >
|
|
<FileConfiguration Name="Debug|Win32" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
<FileConfiguration Name="Release|Win32" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
<FileConfiguration Name="Debug|x64" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
<FileConfiguration Name="Release|x64" ExcludedFromBuild="true" ><Tool Name="VCCLCompilerTool" /></FileConfiguration>
|
|
</File>
|
|
<File RelativePath="..\..\..\cogl\cogl-win32-renderer.c" />
|
|
#include "cogl.sourcefiles"
|
|
<Filter Name="Driver_GL" >
|
|
<File RelativePath="..\..\..\cogl\driver\gl\cogl-gl.c" />
|
|
<File RelativePath="..\..\..\cogl\driver\gl\cogl-texture-driver-gl.c" />
|
|
</Filter>
|
|
</Filter>
|
|
<Filter Name="Headers"
|
|
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
|
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
|
>
|
|
</Filter>
|
|
<Filter Name="Resource Files">
|
|
<File RelativePath="..\..\..\cogl\cogl.rc" />
|
|
</Filter>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|