source: trunk/win32/quad.vcxproj @ 1189

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

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

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