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