Commit 02fe2020 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug 1287 - VS2010 project doesn't include the SDL_syscond.c file

Liam 2011-08-23 09:09:18 PDT
Hiya!

Seems like there's no implementation of condition variables included when
building with VS2010, adding the generic SDL_syscond.c file to the project
seems to fix it right up.
parent 64d81471
...@@ -1083,6 +1083,10 @@ ...@@ -1083,6 +1083,10 @@
RelativePath="..\..\src\audio\SDL_sysaudio.h" RelativePath="..\..\src\audio\SDL_sysaudio.h"
> >
</File> </File>
<File
RelativePath="..\..\src\thread\generic\SDL_syscond.c"
>
</File>
<File <File
RelativePath="..\..\src\events\SDL_sysevents.h" RelativePath="..\..\src\events\SDL_sysevents.h"
> >
......
...@@ -104,9 +104,9 @@ ...@@ -104,9 +104,9 @@
/> />
</Configuration> </Configuration>
<Configuration <Configuration
Name="Debug|x64" Name="Release|Win32"
OutputDirectory="$(PlatformName)\$(ConfigurationName)" OutputDirectory=".\Release"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" IntermediateDirectory=".\Release"
ConfigurationType="2" ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
UseOfMFC="0" UseOfMFC="0"
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine=""
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
...@@ -126,23 +127,25 @@ ...@@ -126,23 +127,25 @@
/> />
<Tool <Tool
Name="VCMIDLTool" Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG" PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true" MkTypLibCompatible="true"
SuppressStartupBanner="true" SuppressStartupBanner="true"
TargetEnvironment="3" TargetEnvironment="1"
TypeLibraryName=".\Debug/SDL.tlb" TypeLibraryName=".\Release/SDL.tlb"
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" InlineFunctionExpansion="1"
EnableIntrinsicFunctions="false"
AdditionalIncludeDirectories="..\..\include" AdditionalIncludeDirectories="..\..\include"
PreprocessorDefinitions="_DEBUG;_WINDOWS" PreprocessorDefinitions="NDEBUG;_WINDOWS"
StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
BufferSecurityCheck="false" BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
WarningLevel="3" WarningLevel="3"
SuppressStartupBanner="true" SuppressStartupBanner="true"
Detect64BitPortabilityProblems="false" Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0" CompileAs="0"
/> />
<Tool <Tool
...@@ -150,7 +153,7 @@ ...@@ -150,7 +153,7 @@
/> />
<Tool <Tool
Name="VCResourceCompilerTool" Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG" PreprocessorDefinitions="NDEBUG"
Culture="1033" Culture="1033"
/> />
<Tool <Tool
...@@ -162,9 +165,7 @@ ...@@ -162,9 +165,7 @@
OutputFile="$(IntDir)\SDL.dll" OutputFile="$(IntDir)\SDL.dll"
SuppressStartupBanner="true" SuppressStartupBanner="true"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
GenerateDebugInformation="true"
SubSystem="2" SubSystem="2"
TargetMachine="17"
/> />
<Tool <Tool
Name="VCALinkTool" Name="VCALinkTool"
...@@ -189,9 +190,9 @@ ...@@ -189,9 +190,9 @@
/> />
</Configuration> </Configuration>
<Configuration <Configuration
Name="Release|Win32" Name="Debug|x64"
OutputDirectory=".\Release" OutputDirectory="$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory=".\Release" IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2" ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
UseOfMFC="0" UseOfMFC="0"
...@@ -199,7 +200,6 @@ ...@@ -199,7 +200,6 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine=""
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
...@@ -212,25 +212,23 @@ ...@@ -212,25 +212,23 @@
/> />
<Tool <Tool
Name="VCMIDLTool" Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG" PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true" MkTypLibCompatible="true"
SuppressStartupBanner="true" SuppressStartupBanner="true"
TargetEnvironment="1" TargetEnvironment="3"
TypeLibraryName=".\Release/SDL.tlb" TypeLibraryName=".\Debug/SDL.tlb"
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
InlineFunctionExpansion="1" Optimization="0"
EnableIntrinsicFunctions="false"
AdditionalIncludeDirectories="..\..\include" AdditionalIncludeDirectories="..\..\include"
PreprocessorDefinitions="NDEBUG;_WINDOWS" PreprocessorDefinitions="_DEBUG;_WINDOWS"
StringPooling="true"
RuntimeLibrary="2" RuntimeLibrary="2"
BufferSecurityCheck="false" BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
WarningLevel="3" WarningLevel="3"
SuppressStartupBanner="true" SuppressStartupBanner="true"
Detect64BitPortabilityProblems="false" Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0" CompileAs="0"
/> />
<Tool <Tool
...@@ -238,7 +236,7 @@ ...@@ -238,7 +236,7 @@
/> />
<Tool <Tool
Name="VCResourceCompilerTool" Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG" PreprocessorDefinitions="_DEBUG"
Culture="1033" Culture="1033"
/> />
<Tool <Tool
...@@ -250,7 +248,9 @@ ...@@ -250,7 +248,9 @@
OutputFile="$(IntDir)\SDL.dll" OutputFile="$(IntDir)\SDL.dll"
SuppressStartupBanner="true" SuppressStartupBanner="true"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
GenerateDebugInformation="true"
SubSystem="2" SubSystem="2"
TargetMachine="17"
/> />
<Tool <Tool
Name="VCALinkTool" Name="VCALinkTool"
...@@ -785,11 +785,11 @@ ...@@ -785,11 +785,11 @@
> >
</File> </File>
<File <File
RelativePath="..\..\src\audio\winmm\SDL_winmm.c" RelativePath="..\..\src\audio\directsound\SDL_directsound.c"
> >
</File> </File>
<File <File
RelativePath="..\..\src\audio\winmm\SDL_winmm.h" RelativePath="..\..\src\audio\directsound\SDL_directsound.h"
> >
</File> </File>
<File <File
...@@ -828,18 +828,6 @@ ...@@ -828,18 +828,6 @@
RelativePath="..\..\src\audio\dummy\SDL_dummyaudio.h" RelativePath="..\..\src\audio\dummy\SDL_dummyaudio.h"
> >
</File> </File>
<File
RelativePath="..\..\src\audio\directsound\SDL_directsound.c"
>
</File>
<File
RelativePath="..\..\src\audio\directsound\SDL_directsound.h"
>
</File>
<File
RelativePath="..\..\src\audio\xaudio2\SDL_xaudio2.c"
>
</File>
<File <File
RelativePath="..\..\src\joystick\windows\SDL_dxjoystick.c" RelativePath="..\..\src\joystick\windows\SDL_dxjoystick.c"
> >
...@@ -1072,6 +1060,10 @@ ...@@ -1072,6 +1060,10 @@
RelativePath="..\..\src\audio\SDL_sysaudio.h" RelativePath="..\..\src\audio\SDL_sysaudio.h"
> >
</File> </File>
<File
RelativePath="..\..\src\thread\generic\SDL_syscond.c"
>
</File>
<File <File
RelativePath="..\..\src\events\SDL_sysevents.h" RelativePath="..\..\src\events\SDL_sysevents.h"
> >
...@@ -1268,6 +1260,18 @@ ...@@ -1268,6 +1260,18 @@
RelativePath="..\..\src\video\windows\SDL_windowswindow.h" RelativePath="..\..\src\video\windows\SDL_windowswindow.h"
> >
</File> </File>
<File
RelativePath="..\..\src\audio\winmm\SDL_winmm.c"
>
</File>
<File
RelativePath="..\..\src\audio\winmm\SDL_winmm.h"
>
</File>
<File
RelativePath="..\..\src\audio\xaudio2\SDL_xaudio2.c"
>
</File>
<File <File
RelativePath="..\..\src\render\SDL_yuv_mmx.c" RelativePath="..\..\src\render\SDL_yuv_mmx.c"
> >
......
...@@ -413,6 +413,7 @@ ...@@ -413,6 +413,7 @@
<ClCompile Include="..\..\src\video\SDL_stretch.c" /> <ClCompile Include="..\..\src\video\SDL_stretch.c" />
<ClCompile Include="..\..\src\stdlib\SDL_string.c" /> <ClCompile Include="..\..\src\stdlib\SDL_string.c" />
<ClCompile Include="..\..\src\video\SDL_surface.c" /> <ClCompile Include="..\..\src\video\SDL_surface.c" />
<ClCompile Include="..\..\src\thread\generic\SDL_syscond.c" />
<ClCompile Include="..\..\src\haptic\windows\SDL_syshaptic.c" /> <ClCompile Include="..\..\src\haptic\windows\SDL_syshaptic.c" />
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" /> <ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
<ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c" /> <ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c" />
...@@ -442,4 +443,4 @@ ...@@ -442,4 +443,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">
</ImportGroup> </ImportGroup>
</Project> </Project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment