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)
291 lines
8.1 KiB
XML
291 lines
8.1 KiB
XML
<?xml version="1.0" encoding="big5"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="cogl-crate"
|
|
ProjectGUID="{DE1A2710-04BB-4C3D-90C1-B070E326B1CF}"
|
|
RootNamespace="coglcrate"
|
|
Keyword="Win32Proj"
|
|
TargetFrameworkVersion="196613"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
<Platform
|
|
Name="x64"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="_DEBUG;COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="4"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="2"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug_SDL|Win32"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Debug\$(PlatformName)\bin"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="_DEBUG;COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="4"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="SDL.lib SDLmain.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="2"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug|x64"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="_DEBUG;COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="2"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug_SDL|x64"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Debug\$(PlatformName)\bin"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="_DEBUG;COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="SDL.lib SDLmain.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="2"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="2"
|
|
EnableIntrinsicFunctions="true"
|
|
PreprocessorDefinitions="COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="1"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release_SDL|Win32"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Release\$(PlatformName)\bin"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="2"
|
|
EnableIntrinsicFunctions="true"
|
|
PreprocessorDefinitions="COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="SDL.lib SDLmain.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="1"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|x64"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
PreprocessorDefinitions="COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="SDL.lib SDLmain.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="1"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release_SDL|x64"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl.vsprops"
|
|
OutputDirectory="$(SolutionDir)\Release\$(PlatformName)\bin"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
PreprocessorDefinitions="COGL_ENABLE_EXPERIMENTAL_2_0_API;COGL_EXAMPLES_DATA=\"../share/cogl-$(CoglApiVersion)/examples-data/\";$(BaseBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="pangocairo-1.0.lib pango-1.0.lib cairo.lib"
|
|
LinkIncremental="1"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
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="..\..\..\examples\cogl-crate.c" />
|
|
</Filter>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|