MSVC 2008 Builds: Build the SDL-2.x example

...instead of the SDL-1.x example.  The SDL-1.x example is not going to run
well against Cogl built against SDL-2.x.
This commit is contained in:
Chun-wei Fan 2014-03-03 11:10:46 +08:00
parent e69dd84004
commit 2568182506
3 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ EXTRA_DIST = \
test-conformance-cogl.vcproj \ test-conformance-cogl.vcproj \
test-conformance-cogl.vcprojin \ test-conformance-cogl.vcprojin \
cogl-hello.vcproj \ cogl-hello.vcproj \
cogl-sdl-hello.vcproj \ cogl-sdl2-hello.vcproj \
cogl-crate.vcproj \ cogl-crate.vcproj \
cogl-msaa.vcproj \ cogl-msaa.vcproj \
cogl-info.vcproj \ cogl-info.vcproj \

View File

@ -2,9 +2,9 @@
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="9.00" Version="9.00"
Name="cogl-sdl-hello" Name="cogl-sdl2-hello"
ProjectGUID="{0B5D144D-1872-42CD-8437-FFDCDD08C03E}" ProjectGUID="{0B5D144D-1872-42CD-8437-FFDCDD08C03E}"
RootNamespace="coglsdlhello" RootNamespace="coglsdl2hello"
Keyword="Win32Proj" Keyword="Win32Proj"
TargetFrameworkVersion="196613" TargetFrameworkVersion="196613"
> >
@ -41,7 +41,7 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="SDL.lib SDLmain.lib" AdditionalDependencies="SDL2.lib SDL2main.lib"
LinkIncremental="2" LinkIncremental="2"
GenerateDebugInformation="true" GenerateDebugInformation="true"
SubSystem="1" SubSystem="1"
@ -71,7 +71,7 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="SDL.lib SDLmain.lib" AdditionalDependencies="SDL2.lib SDL2main.lib"
LinkIncremental="2" LinkIncremental="2"
GenerateDebugInformation="true" GenerateDebugInformation="true"
SubSystem="1" SubSystem="1"
@ -103,7 +103,7 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="SDL.lib SDLmain.lib" AdditionalDependencies="SDL2.lib SDL2main.lib"
LinkIncremental="1" LinkIncremental="1"
GenerateDebugInformation="true" GenerateDebugInformation="true"
SubSystem="1" SubSystem="1"
@ -133,7 +133,7 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="SDL.lib SDLmain.lib" AdditionalDependencies="SDL2.lib SDL2main.lib"
LinkIncremental="1" LinkIncremental="1"
GenerateDebugInformation="true" GenerateDebugInformation="true"
SubSystem="1" SubSystem="1"
@ -153,7 +153,7 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> >
<File RelativePath="..\..\..\examples\cogl-sdl-hello.c" /> <File RelativePath="..\..\..\examples\cogl-sdl2-hello.c" />
</Filter> </Filter>
</Files> </Files>
<Globals> <Globals>

View File

@ -18,7 +18,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cogl-hello", "cogl-hello.vc
{F3A80987-5411-43DB-A23B-06F2076E1206} = {F3A80987-5411-43DB-A23B-06F2076E1206} {F3A80987-5411-43DB-A23B-06F2076E1206} = {F3A80987-5411-43DB-A23B-06F2076E1206}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cogl-sdl-hello", "cogl-sdl-hello.vcproj", "{0B5D144D-1872-42CD-8437-FFDCDD08C03E}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cogl-sdl2-hello", "cogl-sdl2-hello.vcproj", "{0B5D144D-1872-42CD-8437-FFDCDD08C03E}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{F3A80987-5411-43DB-A23B-06F2076E1206} = {F3A80987-5411-43DB-A23B-06F2076E1206} {F3A80987-5411-43DB-A23B-06F2076E1206} = {F3A80987-5411-43DB-A23B-06F2076E1206}
EndProjectSection EndProjectSection