source: trunk/win32/benchsuite.vcxproj @ 1189

Last change on this file since 1189 was 1189, checked in by sam, 9 years ago

build: major refactoring of the Win32 and Xbox project files; we now
link properly on the Xbox.

File size: 9.7 KB
Line 
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="Debug|Xbox 360">
9      <Configuration>Debug</Configuration>
10      <Platform>Xbox 360</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="Release|Win32">
13      <Configuration>Release</Configuration>
14      <Platform>Win32</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="Release|Xbox 360">
17      <Configuration>Release</Configuration>
18      <Platform>Xbox 360</Platform>
19    </ProjectConfiguration>
20  </ItemGroup>
21  <ItemGroup>
22    <ClCompile Include="..\test\benchmark\half.cpp" />
23    <ClCompile Include="..\test\benchmark\real.cpp" />
24    <ClCompile Include="..\test\benchmark\trig.cpp" />
25    <ClCompile Include="..\test\benchmark\vector.cpp" />
26    <ClCompile Include="..\test\benchsuite.cpp" />
27  </ItemGroup>
28  <ItemGroup>
29    <ProjectReference Include="lolcore.vcxproj">
30      <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
31    </ProjectReference>
32  </ItemGroup>
33  <PropertyGroup Label="Globals">
34    <ProjectGuid>{B1E10086-A1DA-401A-834D-969C9DBB5CC1}</ProjectGuid>
35    <Keyword>Win32Proj</Keyword>
36  </PropertyGroup>
37  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
38  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
39    <ConfigurationType>Application</ConfigurationType>
40    <UseDebugLibraries>true</UseDebugLibraries>
41    <CharacterSet>MultiByte</CharacterSet>
42    <UseOfMfc>Dynamic</UseOfMfc>
43  </PropertyGroup>
44  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="Configuration">
45    <ConfigurationType>Application</ConfigurationType>
46    <UseDebugLibraries>true</UseDebugLibraries>
47    <CharacterSet>MultiByte</CharacterSet>
48    <UseOfMfc>Dynamic</UseOfMfc>
49  </PropertyGroup>
50  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
51    <ConfigurationType>Application</ConfigurationType>
52    <UseDebugLibraries>false</UseDebugLibraries>
53    <WholeProgramOptimization>true</WholeProgramOptimization>
54    <CharacterSet>MultiByte</CharacterSet>
55    <UseOfMfc>Dynamic</UseOfMfc>
56  </PropertyGroup>
57  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="Configuration">
58    <ConfigurationType>Application</ConfigurationType>
59    <UseDebugLibraries>false</UseDebugLibraries>
60    <WholeProgramOptimization>true</WholeProgramOptimization>
61    <CharacterSet>MultiByte</CharacterSet>
62    <UseOfMfc>Dynamic</UseOfMfc>
63  </PropertyGroup>
64  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
65  <ImportGroup Label="ExtensionSettings">
66  </ImportGroup>
67  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
68    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69    <Import Project="Contribs.props" />
70  </ImportGroup>
71  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="PropertySheets">
72    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
73    <Import Project="Contribs.props" />
74  </ImportGroup>
75  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
76    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
77    <Import Project="Contribs.props" />
78  </ImportGroup>
79  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="PropertySheets">
80    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
81    <Import Project="Contribs.props" />
82  </ImportGroup>
83  <PropertyGroup Label="UserMacros" />
84  <PropertyGroup Condition="'$(Configuration)'=='Debug'">
85    <LinkIncremental>true</LinkIncremental>
86  </PropertyGroup>
87  <PropertyGroup Condition="'$(Configuration)'=='Release'">
88    <LinkIncremental>false</LinkIncremental>
89  </PropertyGroup>
90  <PropertyGroup>
91    <OutDir>$(Platform) $(Configuration)\</OutDir>
92    <IntDir>$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
93  </PropertyGroup>
94  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
95    <ClCompile>
96      <PrecompiledHeader>
97      </PrecompiledHeader>
98      <WarningLevel>Level3</WarningLevel>
99      <Optimization>Disabled</Optimization>
100      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
101      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
102      <FloatingPointModel>Fast</FloatingPointModel>
103    </ClCompile>
104    <Link>
105      <GenerateDebugInformation>true</GenerateDebugInformation>
106      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);$(GdiDeps);$(GlDeps)</AdditionalDependencies>
107      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
108    </Link>
109    <PostBuildEvent>
110      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
111    </PostBuildEvent>
112  </ItemDefinitionGroup>
113  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
114    <ClCompile>
115      <PrecompiledHeader>
116      </PrecompiledHeader>
117      <WarningLevel>Level3</WarningLevel>
118      <Optimization>Disabled</Optimization>
119      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
120      <PreprocessorDefinitions>_XBOX;_DEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
121      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
122      <FloatingPointModel>Fast</FloatingPointModel>
123    </ClCompile>
124    <Link>
125      <GenerateDebugInformation>true</GenerateDebugInformation>
126      <AdditionalDependencies>xapilibd.lib;d3d9d.lib;d3dx9d.lib;xgraphicsd.lib;xboxkrnl.lib;xnetd.lib;xaudiod2.lib;xactd3.lib;x3daudiod.lib;xmcored.lib;xbdm.lib;vcompd.lib;%(AdditionalDependencies)</AdditionalDependencies>
127      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
128    </Link>
129    <Deploy>
130      <DeploymentType>CopyToHardDrive</DeploymentType>
131    </Deploy>
132  </ItemDefinitionGroup>
133  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
134    <ClCompile>
135      <WarningLevel>Level3</WarningLevel>
136      <PrecompiledHeader>
137      </PrecompiledHeader>
138      <Optimization>MaxSpeed</Optimization>
139      <FunctionLevelLinking>true</FunctionLevelLinking>
140      <IntrinsicFunctions>true</IntrinsicFunctions>
141      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
142      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
143      <FloatingPointModel>Fast</FloatingPointModel>
144    </ClCompile>
145    <Link>
146      <GenerateDebugInformation>true</GenerateDebugInformation>
147      <EnableCOMDATFolding>true</EnableCOMDATFolding>
148      <OptimizeReferences>true</OptimizeReferences>
149      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);$(GdiDeps);$(GlDeps)</AdditionalDependencies>
150      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
151    </Link>
152    <PostBuildEvent>
153      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
154    </PostBuildEvent>
155  </ItemDefinitionGroup>
156  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
157    <ClCompile>
158      <WarningLevel>Level3</WarningLevel>
159      <PrecompiledHeader>
160      </PrecompiledHeader>
161      <Optimization>MaxSpeed</Optimization>
162      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
163      <FunctionLevelLinking>true</FunctionLevelLinking>
164      <IntrinsicFunctions>true</IntrinsicFunctions>
165      <PreprocessorDefinitions>_XBOX;NDEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
166      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
167      <FloatingPointModel>Fast</FloatingPointModel>
168    </ClCompile>
169    <Link>
170      <GenerateDebugInformation>true</GenerateDebugInformation>
171      <EnableCOMDATFolding>true</EnableCOMDATFolding>
172      <OptimizeReferences>true</OptimizeReferences>
173      <AdditionalDependencies>xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;%(AdditionalDependencies)</AdditionalDependencies>
174      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
175    </Link>
176    <Deploy>
177      <DeploymentType>CopyToHardDrive</DeploymentType>
178    </Deploy>
179  </ItemDefinitionGroup>
180  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
181  <ImportGroup Label="ExtensionTargets">
182  </ImportGroup>
183</Project>
Note: See TracBrowser for help on using the repository browser.