mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
2e0989bbaf
Cogl, when built with the SDL winsys, includes the SDL headers in its headers, which causes main() to be defined to SDL's main() wrapper on Windows, which means that SDL2.lib and SDL2main.lib need to be linked to every single program that links to Cogl with the SDL winsys. Avoid this behavior by defining SDL_MAIN_HANDLED in the CFLAGS of the sample and test programs, and let people know that this is the case.
158 lines
3.7 KiB
XML
158 lines
3.7 KiB
XML
<?xml version="1.0" encoding="big5"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="cogl-info"
|
|
ProjectGUID="{CD17F5C8-C860-4A65-8209-4D0B093A3DA3}"
|
|
RootNamespace="coglinfo"
|
|
Keyword="Win32Proj"
|
|
TargetFrameworkVersion="196613"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
<Platform
|
|
Name="x64"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
InheritedPropertySheets=".\cogl-build-defines.vsprops"
|
|
ConfigurationType="1"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="_DEBUG;COGL_ENABLE_EXPERIMENTAL_2_0_API;$(CoglAppAvoidForcedSDLLinkingDefines);$(BaseBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="4"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
LinkIncremental="2"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug|x64"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl-build-defines.vsprops"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="_DEBUG;COGL_ENABLE_EXPERIMENTAL_2_0_API;$(CoglAppAvoidForcedSDLLinkingDefines);$(BaseBuildDefines)"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
LinkIncremental="2"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
TargetMachine="17"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
InheritedPropertySheets=".\cogl-build-defines.vsprops"
|
|
ConfigurationType="1"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="2"
|
|
EnableIntrinsicFunctions="true"
|
|
PreprocessorDefinitions="COGL_ENABLE_EXPERIMENTAL_2_0_API;$(CoglAppAvoidForcedSDLLinkingDefines);$(BaseBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
LinkIncremental="1"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|x64"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets=".\cogl-build-defines.vsprops"
|
|
CharacterSet="2"
|
|
WholeProgramOptimization="1"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
PreprocessorDefinitions="COGL_ENABLE_EXPERIMENTAL_2_0_API;$(CoglAppAvoidForcedSDLLinkingDefines);$(BaseBuildDefines)"
|
|
RuntimeLibrary="2"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
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-info.c" />
|
|
</Filter>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|