source: trunk/win32/Lol.Build.props @ 1190

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

build: more Visual Studio project file refactoring.

File size: 5.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <PropertyGroup>
4    <OutDir>$(Platform) $(Configuration)\</OutDir>
5    <IntDir>$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
6  </PropertyGroup>
7  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
8    <ClCompile>
9      <PrecompiledHeader>
10      </PrecompiledHeader>
11      <WarningLevel>Level3</WarningLevel>
12      <Optimization>Disabled</Optimization>
13      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
14      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
15      <FloatingPointModel>Fast</FloatingPointModel>
16    </ClCompile>
17    <Link>
18      <GenerateDebugInformation>true</GenerateDebugInformation>
19      <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>
20      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
21    </Link>
22    <PostBuildEvent>
23      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
24    </PostBuildEvent>
25  </ItemDefinitionGroup>
26  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
27    <ClCompile>
28      <PrecompiledHeader>
29      </PrecompiledHeader>
30      <WarningLevel>Level3</WarningLevel>
31      <Optimization>Disabled</Optimization>
32      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
33      <PreprocessorDefinitions>_XBOX;_DEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
34      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
35      <FloatingPointModel>Fast</FloatingPointModel>
36    </ClCompile>
37    <Link>
38      <GenerateDebugInformation>true</GenerateDebugInformation>
39      <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>
40      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
41    </Link>
42    <Deploy>
43      <DeploymentType>CopyToHardDrive</DeploymentType>
44    </Deploy>
45  </ItemDefinitionGroup>
46  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
47    <ClCompile>
48      <WarningLevel>Level3</WarningLevel>
49      <PrecompiledHeader>
50      </PrecompiledHeader>
51      <Optimization>MaxSpeed</Optimization>
52      <FunctionLevelLinking>true</FunctionLevelLinking>
53      <IntrinsicFunctions>true</IntrinsicFunctions>
54      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
55      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
56      <FloatingPointModel>Fast</FloatingPointModel>
57    </ClCompile>
58    <Link>
59      <GenerateDebugInformation>true</GenerateDebugInformation>
60      <EnableCOMDATFolding>true</EnableCOMDATFolding>
61      <OptimizeReferences>true</OptimizeReferences>
62      <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>
63      <AdditionalLibraryDirectories>$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
64    </Link>
65    <PostBuildEvent>
66      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
67    </PostBuildEvent>
68  </ItemDefinitionGroup>
69  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
70    <ClCompile>
71      <WarningLevel>Level3</WarningLevel>
72      <PrecompiledHeader>
73      </PrecompiledHeader>
74      <Optimization>MaxSpeed</Optimization>
75      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
76      <FunctionLevelLinking>true</FunctionLevelLinking>
77      <IntrinsicFunctions>true</IntrinsicFunctions>
78      <PreprocessorDefinitions>_XBOX;NDEBUG;_CONSOLE;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
79      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
80      <FloatingPointModel>Fast</FloatingPointModel>
81    </ClCompile>
82    <Link>
83      <GenerateDebugInformation>true</GenerateDebugInformation>
84      <EnableCOMDATFolding>true</EnableCOMDATFolding>
85      <OptimizeReferences>true</OptimizeReferences>
86      <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>
87      <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
88    </Link>
89    <Deploy>
90      <DeploymentType>CopyToHardDrive</DeploymentType>
91    </Deploy>
92  </ItemDefinitionGroup>
93</Project>
Note: See TracBrowser for help on using the repository browser.