Mercurial > sdl-ios-xcode
annotate VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj @ 5004:0c72ae7b7cb2
Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
Changed the CAS return value to bool, so it's efficient with OSAtomicCompareAndSwap32Barrier()
Added an atomic test adapted from code by Michael Davidsaver
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 16 Jan 2011 15:16:39 -0800 |
parents | f205711f73d5 |
children | 5bb673951db2 |
rev | line source |
---|---|
4823 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
3 <ItemGroup Label="ProjectConfigurations"> | |
4 <ProjectConfiguration Include="Debug|Win32"> | |
5 <Configuration>Debug</Configuration> | |
6 <Platform>Win32</Platform> | |
7 </ProjectConfiguration> | |
8 <ProjectConfiguration Include="Release|Win32"> | |
9 <Configuration>Release</Configuration> | |
10 <Platform>Win32</Platform> | |
11 </ProjectConfiguration> | |
12 </ItemGroup> | |
13 <PropertyGroup Label="Globals"> | |
4910
f205711f73d5
Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
4823
diff
changeset
|
14 <ProjectName>testdraw2</ProjectName> |
f205711f73d5
Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
4823
diff
changeset
|
15 <RootNamespace>testdraw2</RootNamespace> |
4823 | 16 <ProjectGuid>{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}</ProjectGuid> |
17 </PropertyGroup> | |
18 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
19 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
20 <ConfigurationType>Application</ConfigurationType> | |
21 <UseOfMfc>false</UseOfMfc> | |
22 </PropertyGroup> | |
23 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
24 <ConfigurationType>Application</ConfigurationType> | |
25 <UseOfMfc>false</UseOfMfc> | |
26 </PropertyGroup> | |
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
28 <ImportGroup Label="ExtensionSettings"> | |
29 </ImportGroup> | |
30 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | |
31 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
32 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |
33 </ImportGroup> | |
34 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | |
35 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
36 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |
37 </ImportGroup> | |
38 <PropertyGroup Label="UserMacros" /> | |
39 <PropertyGroup> | |
40 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | |
41 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir> | |
42 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir> | |
43 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> | |
44 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir> | |
45 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir> | |
46 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> | |
47 </PropertyGroup> | |
48 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
49 <Midl> | |
50 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
51 <MkTypLibCompatible>true</MkTypLibCompatible> | |
52 <SuppressStartupBanner>true</SuppressStartupBanner> | |
53 <TargetEnvironment>Win32</TargetEnvironment> | |
54 <TypeLibraryName>.\Release/testdraw2.tlb</TypeLibraryName> | |
55 </Midl> | |
56 <ClCompile> | |
57 <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |
58 <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
59 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
60 <StringPooling>true</StringPooling> | |
61 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |
62 <FunctionLevelLinking>true</FunctionLevelLinking> | |
63 <PrecompiledHeader> | |
64 </PrecompiledHeader> | |
65 <PrecompiledHeaderOutputFile>.\Release/testdraw2.pch</PrecompiledHeaderOutputFile> | |
66 <AssemblerListingLocation>.\Release/</AssemblerListingLocation> | |
67 <ObjectFileName>.\Release/</ObjectFileName> | |
68 <ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName> | |
69 <WarningLevel>Level3</WarningLevel> | |
70 <SuppressStartupBanner>true</SuppressStartupBanner> | |
71 <CompileAs>Default</CompileAs> | |
72 </ClCompile> | |
73 <ResourceCompile> | |
74 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
75 <Culture>0x0409</Culture> | |
76 </ResourceCompile> | |
77 <Link> | |
78 <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions> | |
79 <OutputFile>.\Release/testdraw2.exe</OutputFile> | |
80 <SuppressStartupBanner>true</SuppressStartupBanner> | |
81 <ProgramDatabaseFile>.\Release/testdraw2.pdb</ProgramDatabaseFile> | |
82 <SubSystem>Windows</SubSystem> | |
83 </Link> | |
84 </ItemDefinitionGroup> | |
85 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
86 <Midl> | |
87 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
88 <MkTypLibCompatible>true</MkTypLibCompatible> | |
89 <SuppressStartupBanner>true</SuppressStartupBanner> | |
90 <TargetEnvironment>Win32</TargetEnvironment> | |
91 <TypeLibraryName>.\Debug/testdraw2.tlb</TypeLibraryName> | |
92 </Midl> | |
93 <ClCompile> | |
94 <Optimization>Disabled</Optimization> | |
95 <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
96 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
97 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |
98 <PrecompiledHeader> | |
99 </PrecompiledHeader> | |
100 <PrecompiledHeaderOutputFile>.\Debug/testdraw2.pch</PrecompiledHeaderOutputFile> | |
101 <AssemblerListingLocation>.\Debug/</AssemblerListingLocation> | |
102 <ObjectFileName>.\Debug/</ObjectFileName> | |
103 <ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName> | |
104 <WarningLevel>Level3</WarningLevel> | |
105 <SuppressStartupBanner>true</SuppressStartupBanner> | |
106 <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |
107 <CompileAs>Default</CompileAs> | |
108 </ClCompile> | |
109 <ResourceCompile> | |
110 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
111 <Culture>0x0409</Culture> | |
112 </ResourceCompile> | |
113 <Link> | |
114 <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions> | |
115 <OutputFile>.\Debug/testdraw2.exe</OutputFile> | |
116 <SuppressStartupBanner>true</SuppressStartupBanner> | |
117 <GenerateDebugInformation>true</GenerateDebugInformation> | |
118 <ProgramDatabaseFile>.\Debug/testdraw2.pdb</ProgramDatabaseFile> | |
119 <SubSystem>Windows</SubSystem> | |
120 </Link> | |
121 </ItemDefinitionGroup> | |
122 <ItemGroup> | |
123 <ClCompile Include="..\..\..\test\common.c" /> | |
124 <ClCompile Include="..\..\..\test\testdraw2.c" /> | |
125 </ItemGroup> | |
126 <ItemGroup> | |
127 <Library Include="..\..\Sdl\Debug\SDL.lib" /> | |
128 <Library Include="..\..\SDLmain\Debug\SDLmain.lib" /> | |
129 </ItemGroup> | |
130 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
131 <ImportGroup Label="ExtensionTargets"> | |
132 </ImportGroup> | |
133 </Project> |