source: trunk/win32/deushax.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.5 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    <ClInclude Include="..\deushax\debugsprite.h" />
23    <ClInclude Include="..\deushax\game.h" />
24  </ItemGroup>
25  <ItemGroup>
26    <ClCompile Include="..\deushax\debugsprite.cpp" />
27    <ClCompile Include="..\deushax\deushax.cpp" />
28    <ClCompile Include="..\deushax\game.cpp" />
29  </ItemGroup>
30  <ItemGroup>
31    <ProjectReference Include="lolcore.vcxproj">
32      <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
33    </ProjectReference>
34  </ItemGroup>
35  <PropertyGroup Label="Globals">
36    <ProjectGuid>{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}</ProjectGuid>
37    <Keyword>Win32Proj</Keyword>
38  </PropertyGroup>
39  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
40  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" 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)'=='Debug|Xbox 360'" Label="Configuration">
47    <ConfigurationType>Application</ConfigurationType>
48    <UseDebugLibraries>true</UseDebugLibraries>
49    <CharacterSet>MultiByte</CharacterSet>
50    <UseOfMfc>Dynamic</UseOfMfc>
51  </PropertyGroup>
52  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
53    <ConfigurationType>Application</ConfigurationType>
54    <UseDebugLibraries>false</UseDebugLibraries>
55    <WholeProgramOptimization>true</WholeProgramOptimization>
56    <CharacterSet>MultiByte</CharacterSet>
57    <UseOfMfc>Dynamic</UseOfMfc>
58  </PropertyGroup>
59  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="Configuration">
60    <ConfigurationType>Application</ConfigurationType>
61    <UseDebugLibraries>false</UseDebugLibraries>
62    <WholeProgramOptimization>true</WholeProgramOptimization>
63    <CharacterSet>MultiByte</CharacterSet>
64    <UseOfMfc>Dynamic</UseOfMfc>
65  </PropertyGroup>
66  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
67  <ImportGroup Label="ExtensionSettings">
68  </ImportGroup>
69  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
70    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71    <Import Project="Contribs.props" />
72  </ImportGroup>
73  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="PropertySheets">
74    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
75    <Import Project="Contribs.props" />
76  </ImportGroup>
77  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
78    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
79    <Import Project="Contribs.props" />
80  </ImportGroup>
81  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="PropertySheets">
82    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
83    <Import Project="Contribs.props" />
84  </ImportGroup>
85  <PropertyGroup Label="UserMacros" />
86  <PropertyGroup Condition="'$(Configuration)'=='Debug'">
87    <LinkIncremental>true</LinkIncremental>
88  </PropertyGroup>
89  <PropertyGroup Condition="'$(Configuration)'=='Release'">
90    <LinkIncremental>false</LinkIncremental>
91  </PropertyGroup>
92  <PropertyGroup>
93    <OutDir>$(Platform) $(Configuration)\</OutDir>
94    <IntDir>$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
95  </PropertyGroup>
96  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
97    <ClCompile>
98      <PrecompiledHeader>
99      </PrecompiledHeader>
100      <WarningLevel>Level3</WarningLevel>
101      <Optimization>Disabled</Optimization>
102      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
103      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
104    </ClCompile>
105    <Link>
106      <GenerateDebugInformation>true</GenerateDebugInformation>
107      <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>
108      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
109    </Link>
110    <PostBuildEvent>
111      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
112    </PostBuildEvent>
113  </ItemDefinitionGroup>
114  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
115    <ClCompile>
116      <PrecompiledHeader>
117      </PrecompiledHeader>
118      <WarningLevel>Level3</WarningLevel>
119      <Optimization>Disabled</Optimization>
120      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
121      <PreprocessorDefinitions>_XBOX;_DEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
122      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
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    </ClCompile>
144    <Link>
145      <GenerateDebugInformation>true</GenerateDebugInformation>
146      <EnableCOMDATFolding>true</EnableCOMDATFolding>
147      <OptimizeReferences>true</OptimizeReferences>
148      <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>
149      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
150    </Link>
151    <PostBuildEvent>
152      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
153    </PostBuildEvent>
154  </ItemDefinitionGroup>
155  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
156    <ClCompile>
157      <WarningLevel>Level3</WarningLevel>
158      <PrecompiledHeader>
159      </PrecompiledHeader>
160      <Optimization>MaxSpeed</Optimization>
161      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
162      <FunctionLevelLinking>true</FunctionLevelLinking>
163      <IntrinsicFunctions>true</IntrinsicFunctions>
164      <PreprocessorDefinitions>_XBOX;NDEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
165      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
166    </ClCompile>
167    <Link>
168      <GenerateDebugInformation>true</GenerateDebugInformation>
169      <EnableCOMDATFolding>true</EnableCOMDATFolding>
170      <OptimizeReferences>true</OptimizeReferences>
171      <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>
172      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
173    </Link>
174    <Deploy>
175      <DeploymentType>CopyToHardDrive</DeploymentType>
176    </Deploy>
177  </ItemDefinitionGroup>
178  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
179  <ImportGroup Label="ExtensionTargets">
180  </ImportGroup>
181</Project>
Note: See TracBrowser for help on using the repository browser.