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