Mercurial > sdl-ios-xcode
annotate VisualC/tests/testsprite/testsprite.vcproj @ 3069:caefe2344f65
Date: Thu, 27 Dec 2007 07:38:25 +0000
From: John Bartholomew
Subject: [SDL] SDL Semaphore implementation broken on Windows?
Hi,
Over the past couple of days, I've been battling with SDL, SDL_Mixer and SMPEG to try to find an audio hang bug. I believe I've found the problem, which I think is a race condition inside SDL's semaphore implementation (at least the Windows implementation). The semaphore code uses Windows' built in semaphore functions, but it also maintains a separate count value. This count value is updated with bare increment and decrement operations in SemPost and SemWaitTimeout - no locking primitives to protect them.
In tracking down the apparent audio bug, I found that at some point a semaphore's count value was being decremented to -1, which is clearly not a valid value for it to take.
I'm still not certain exactly what sequence of operations is occuring for this to happen, but I believe that overall it's a race condition between a thread calling SemPost (which increments the count) and the thread on the other end calling SemWait (which decrements it).
I will try to make a test case to verify this, but I'm not sure if I'll be able to (threading errors being difficult to reproduce even in the best circumstances).
However, assuming this is the cause of my problems, there is a very
simple fix:
Windows provides InterlockedIncrement() and InterlockedDecrement()
functions to perform increments and decrements which are guaranteed to be atomic. So the fix is in thread/win32/SDL_syssem.c: replace occurrences of --sem->count with InterlockedDecrement(&sem->count); and replace occurrences of ++sem->count with InterlockedIncrement(&sem->count);
This is using SDL v1.2.12, built with VC++ 2008 Express, running on a
Core 2 duo processor.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 17 Feb 2009 05:39:18 +0000 |
parents | 53689036f265 |
children |
rev | line source |
---|---|
2782
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="Windows-1252"?> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 <VisualStudioProject |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 ProjectType="Visual C++" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 Version="8.00" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 Name="testsprite" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 ProjectGUID="{5D0930C0-7C91-4ECE-9014-7B7DDE9502E5}" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 > |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 <Platforms> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 <Platform |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 Name="Win32" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 </Platforms> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 <ToolFiles> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 </ToolFiles> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 <Configurations> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 <Configuration |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 Name="Release|Win32" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 OutputDirectory=".\Release" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 IntermediateDirectory=".\Release" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 ConfigurationType="1" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
22 UseOfMFC="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 ATLMinimizesCRunTimeLibraryUsage="false" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 > |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
26 Name="VCPreBuildEventTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
28 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
29 Name="VCCustomBuildTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
30 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
31 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
32 Name="VCXMLDataGeneratorTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
33 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
34 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
35 Name="VCWebServiceProxyGeneratorTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
36 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
37 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
38 Name="VCMIDLTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
39 PreprocessorDefinitions="NDEBUG" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
40 MkTypLibCompatible="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
41 SuppressStartupBanner="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
42 TargetEnvironment="1" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
43 TypeLibraryName=".\Release/testsprite.tlb" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
44 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
45 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
46 Name="VCCLCompilerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
47 InlineFunctionExpansion="1" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
48 AdditionalIncludeDirectories="..\..\..\include" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
49 PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
50 StringPooling="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
51 RuntimeLibrary="2" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
52 EnableFunctionLevelLinking="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
53 UsePrecompiledHeader="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
54 PrecompiledHeaderFile=".\Release/testsprite.pch" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
55 AssemblerListingLocation=".\Release/" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
56 ObjectFile=".\Release/" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
57 ProgramDataBaseFileName=".\Release/" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
58 WarningLevel="3" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
59 SuppressStartupBanner="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
60 CompileAs="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
61 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
62 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
63 Name="VCManagedResourceCompilerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
64 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
65 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
66 Name="VCResourceCompilerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
67 PreprocessorDefinitions="NDEBUG" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
68 Culture="1033" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
69 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
70 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
71 Name="VCPreLinkEventTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
72 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
73 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
74 Name="VCLinkerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
75 AdditionalOptions="/MACHINE:I386" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
76 OutputFile=".\Release/testsprite.exe" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
77 LinkIncremental="1" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
78 SuppressStartupBanner="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
79 ProgramDatabaseFile=".\Release/testsprite.pdb" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
80 SubSystem="2" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
81 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
82 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
83 Name="VCALinkTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
84 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
85 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
86 Name="VCManifestTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
87 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
88 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
89 Name="VCXDCMakeTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
90 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
91 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
92 Name="VCBscMakeTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
93 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
94 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
95 Name="VCFxCopTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
96 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
97 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
98 Name="VCAppVerifierTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
99 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
100 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
101 Name="VCWebDeploymentTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
102 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
103 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
104 Name="VCPostBuildEventTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
105 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
106 </Configuration> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
107 <Configuration |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
108 Name="Debug|Win32" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
109 OutputDirectory=".\Debug" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
110 IntermediateDirectory=".\Debug" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
111 ConfigurationType="1" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
112 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
113 UseOfMFC="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
114 ATLMinimizesCRunTimeLibraryUsage="false" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
115 > |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
116 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
117 Name="VCPreBuildEventTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
118 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
119 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
120 Name="VCCustomBuildTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
121 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
122 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
123 Name="VCXMLDataGeneratorTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
124 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
125 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
126 Name="VCWebServiceProxyGeneratorTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
127 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
128 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
129 Name="VCMIDLTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
130 PreprocessorDefinitions="_DEBUG" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
131 MkTypLibCompatible="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
132 SuppressStartupBanner="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
133 TargetEnvironment="1" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
134 TypeLibraryName=".\Debug/testsprite.tlb" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
135 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
136 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
137 Name="VCCLCompilerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
138 Optimization="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
139 AdditionalIncludeDirectories="..\..\..\include" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
140 PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
141 RuntimeLibrary="2" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
142 UsePrecompiledHeader="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
143 PrecompiledHeaderFile=".\Debug/testsprite.pch" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
144 AssemblerListingLocation=".\Debug/" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
145 ObjectFile=".\Debug/" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
146 ProgramDataBaseFileName=".\Debug/" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
147 WarningLevel="3" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
148 SuppressStartupBanner="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
149 DebugInformationFormat="4" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
150 CompileAs="0" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
151 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
152 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
153 Name="VCManagedResourceCompilerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
154 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
155 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
156 Name="VCResourceCompilerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
157 PreprocessorDefinitions="_DEBUG" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
158 Culture="1033" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
159 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
160 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
161 Name="VCPreLinkEventTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
162 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
163 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
164 Name="VCLinkerTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
165 AdditionalOptions="/MACHINE:I386" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
166 OutputFile=".\Debug/testsprite.exe" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
167 LinkIncremental="2" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
168 SuppressStartupBanner="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
169 GenerateDebugInformation="true" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
170 ProgramDatabaseFile=".\Debug/testsprite.pdb" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
171 SubSystem="2" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
172 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
173 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
174 Name="VCALinkTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
175 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
176 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
177 Name="VCManifestTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
178 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
179 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
180 Name="VCXDCMakeTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
181 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
182 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
183 Name="VCBscMakeTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
184 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
185 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
186 Name="VCFxCopTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
187 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
188 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
189 Name="VCAppVerifierTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
190 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
191 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
192 Name="VCWebDeploymentTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
193 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
194 <Tool |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
195 Name="VCPostBuildEventTool" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
196 /> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
197 </Configuration> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
198 </Configurations> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
199 <References> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
200 </References> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
201 <Files> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
202 <File |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
203 RelativePath="..\..\Sdl\Debug\SDL.lib" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
204 > |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
205 </File> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
206 <File |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
207 RelativePath="..\..\SDLmain\Debug\SDLmain.lib" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
208 > |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
209 </File> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
210 <File |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
211 RelativePath="..\..\..\test\testsprite.c" |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
212 > |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
213 </File> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
214 </Files> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
215 <Globals> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
216 </Globals> |
53689036f265
Added testsprite test projects for Visual Studio
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
217 </VisualStudioProject> |