source: trunk/win32/testsuite.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.9 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\testsuite.cpp" />
23    <ClCompile Include="..\test\unit\build.cpp" />
24    <ClCompile Include="..\test\unit\cmplx.cpp" />
25    <ClCompile Include="..\test\unit\half.cpp" />
26    <ClCompile Include="..\test\unit\image.cpp" />
27    <ClCompile Include="..\test\unit\quat.cpp" />
28    <ClCompile Include="..\test\unit\real.cpp" />
29    <ClCompile Include="..\test\unit\trig.cpp" />
30    <ClCompile Include="..\test\unit\vector.cpp" />
31  </ItemGroup>
32  <ItemGroup>
33    <ProjectReference Include="lolcore.vcxproj">
34      <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
35    </ProjectReference>
36  </ItemGroup>
37  <PropertyGroup Label="Globals">
38    <ProjectGuid>{80F81C11-8DA2-4990-91CB-9807783BA46E}</ProjectGuid>
39    <Keyword>Win32Proj</Keyword>
40  </PropertyGroup>
41  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
42  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
43    <ConfigurationType>Application</ConfigurationType>
44    <UseDebugLibraries>true</UseDebugLibraries>
45    <CharacterSet>MultiByte</CharacterSet>
46    <UseOfMfc>Dynamic</UseOfMfc>
47  </PropertyGroup>
48  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="Configuration">
49    <ConfigurationType>Application</ConfigurationType>
50    <UseDebugLibraries>true</UseDebugLibraries>
51    <CharacterSet>MultiByte</CharacterSet>
52    <UseOfMfc>Dynamic</UseOfMfc>
53  </PropertyGroup>
54  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
55    <ConfigurationType>Application</ConfigurationType>
56    <UseDebugLibraries>false</UseDebugLibraries>
57    <WholeProgramOptimization>true</WholeProgramOptimization>
58    <CharacterSet>MultiByte</CharacterSet>
59    <UseOfMfc>Dynamic</UseOfMfc>
60  </PropertyGroup>
61  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="Configuration">
62    <ConfigurationType>Application</ConfigurationType>
63    <UseDebugLibraries>false</UseDebugLibraries>
64    <WholeProgramOptimization>true</WholeProgramOptimization>
65    <CharacterSet>MultiByte</CharacterSet>
66    <UseOfMfc>Dynamic</UseOfMfc>
67  </PropertyGroup>
68  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
69  <ImportGroup Label="ExtensionSettings">
70  </ImportGroup>
71  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
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 Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="PropertySheets">
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 Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
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  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="PropertySheets">
84    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
85    <Import Project="Contribs.props" />
86  </ImportGroup>
87  <PropertyGroup Label="UserMacros" />
88  <PropertyGroup Condition="'$(Configuration)'=='Debug'">
89    <LinkIncremental>true</LinkIncremental>
90  </PropertyGroup>
91  <PropertyGroup Condition="'$(Configuration)'=='Release'">
92    <LinkIncremental>false</LinkIncremental>
93  </PropertyGroup>
94  <PropertyGroup>
95    <OutDir>$(Platform) $(Configuration)\</OutDir>
96    <IntDir>$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
97  </PropertyGroup>
98  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
99    <ClCompile>
100      <PrecompiledHeader>
101      </PrecompiledHeader>
102      <WarningLevel>Level3</WarningLevel>
103      <Optimization>Disabled</Optimization>
104      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
105      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
106      <FloatingPointModel>Fast</FloatingPointModel>
107    </ClCompile>
108    <Link>
109      <GenerateDebugInformation>true</GenerateDebugInformation>
110      <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>
111      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
112    </Link>
113    <PostBuildEvent>
114      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
115    </PostBuildEvent>
116  </ItemDefinitionGroup>
117  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
118    <ClCompile>
119      <PrecompiledHeader>
120      </PrecompiledHeader>
121      <WarningLevel>Level3</WarningLevel>
122      <Optimization>Disabled</Optimization>
123      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
124      <PreprocessorDefinitions>_XBOX;_DEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
125      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126      <FloatingPointModel>Fast</FloatingPointModel>
127    </ClCompile>
128    <Link>
129      <GenerateDebugInformation>true</GenerateDebugInformation>
130      <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>
131      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
132    </Link>
133    <Deploy>
134      <DeploymentType>CopyToHardDrive</DeploymentType>
135    </Deploy>
136  </ItemDefinitionGroup>
137  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
138    <ClCompile>
139      <WarningLevel>Level3</WarningLevel>
140      <PrecompiledHeader>
141      </PrecompiledHeader>
142      <Optimization>MaxSpeed</Optimization>
143      <FunctionLevelLinking>true</FunctionLevelLinking>
144      <IntrinsicFunctions>true</IntrinsicFunctions>
145      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
146      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
147      <FloatingPointModel>Fast</FloatingPointModel>
148    </ClCompile>
149    <Link>
150      <GenerateDebugInformation>true</GenerateDebugInformation>
151      <EnableCOMDATFolding>true</EnableCOMDATFolding>
152      <OptimizeReferences>true</OptimizeReferences>
153      <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>
154      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
155    </Link>
156    <PostBuildEvent>
157      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
158    </PostBuildEvent>
159  </ItemDefinitionGroup>
160  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
161    <ClCompile>
162      <WarningLevel>Level3</WarningLevel>
163      <PrecompiledHeader>
164      </PrecompiledHeader>
165      <Optimization>MaxSpeed</Optimization>
166      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
167      <FunctionLevelLinking>true</FunctionLevelLinking>
168      <IntrinsicFunctions>true</IntrinsicFunctions>
169      <PreprocessorDefinitions>_XBOX;NDEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
170      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
171      <FloatingPointModel>Fast</FloatingPointModel>
172    </ClCompile>
173    <Link>
174      <GenerateDebugInformation>true</GenerateDebugInformation>
175      <EnableCOMDATFolding>true</EnableCOMDATFolding>
176      <OptimizeReferences>true</OptimizeReferences>
177      <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>
178      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
179    </Link>
180    <Deploy>
181      <DeploymentType>CopyToHardDrive</DeploymentType>
182    </Deploy>
183  </ItemDefinitionGroup>
184  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
185  <ImportGroup Label="ExtensionTargets">
186  </ImportGroup>
187</Project>
Note: See TracBrowser for help on using the repository browser.