source: trunk/win32/tut01.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    <ClCompile Include="..\test\tutorial\tut01.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>{b92abadc-45be-4cc5-b724-9426053123a1}</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      <BufferSecurityCheck>false</BufferSecurityCheck>
118    </ClCompile>
119    <Link>
120      <GenerateDebugInformation>true</GenerateDebugInformation>
121      <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>
122      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
123    </Link>
124    <Deploy>
125      <DeploymentType>CopyToHardDrive</DeploymentType>
126    </Deploy>
127  </ItemDefinitionGroup>
128  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
129    <ClCompile>
130      <WarningLevel>Level3</WarningLevel>
131      <PrecompiledHeader>
132      </PrecompiledHeader>
133      <Optimization>MaxSpeed</Optimization>
134      <FunctionLevelLinking>true</FunctionLevelLinking>
135      <IntrinsicFunctions>true</IntrinsicFunctions>
136      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
137      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
138    </ClCompile>
139    <Link>
140      <GenerateDebugInformation>true</GenerateDebugInformation>
141      <EnableCOMDATFolding>true</EnableCOMDATFolding>
142      <OptimizeReferences>true</OptimizeReferences>
143      <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>
144      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
145    </Link>
146    <PostBuildEvent>
147      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
148    </PostBuildEvent>
149  </ItemDefinitionGroup>
150  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
151    <ClCompile>
152      <WarningLevel>Level3</WarningLevel>
153      <PrecompiledHeader>
154      </PrecompiledHeader>
155      <Optimization>MaxSpeed</Optimization>
156      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
157      <FunctionLevelLinking>true</FunctionLevelLinking>
158      <IntrinsicFunctions>true</IntrinsicFunctions>
159      <PreprocessorDefinitions>_XBOX;NDEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
160      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
161      <BufferSecurityCheck>false</BufferSecurityCheck>
162    </ClCompile>
163    <Link>
164      <GenerateDebugInformation>true</GenerateDebugInformation>
165      <EnableCOMDATFolding>true</EnableCOMDATFolding>
166      <OptimizeReferences>true</OptimizeReferences>
167      <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>
168      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
169    </Link>
170    <Deploy>
171      <DeploymentType>CopyToHardDrive</DeploymentType>
172    </Deploy>
173  </ItemDefinitionGroup>
174  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
175  <ImportGroup Label="ExtensionTargets">
176  </ImportGroup>
177</Project>
Note: See TracBrowser for help on using the repository browser.