您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

116 行
9.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental>
  5. <LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental>
  6. </PropertyGroup>
  7. <ItemDefinitionGroup>
  8. <ClCompile>
  9. <WarningLevel>Level3</WarningLevel>
  10. <!-- Always multiprocessor, never minimal rebuild -->
  11. <MultiProcessorCompilation>true</MultiProcessorCompilation>
  12. <MinimalRebuild>false</MinimalRebuild>
  13. <!-- We should use %(RelativeDir) here but for some reason it's an _absolute_ dir. WTF. -->
  14. <ObjectFileName>$(IntDir)/%(Directory)/</ObjectFileName>
  15. <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src\bullet;$(SolutionDir)\..\tools\lolunit;$(PegtlIncludes);$(FlexIncludes);$(BtPhysIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16. <AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);$(FfmpegIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  17. <AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(GlIncludes);$(SdlIncludes);$(FfmpegIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18. <PreprocessorDefinitions>NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19. <!-- Escape backslashes for C++, but replace \ with / on the PS3
  20. because the SNC VSI seems to have trouble with backslashes -->
  21. <PreprocessorDefinitions Condition="'$(Platform)'!='PS3' And '$(Platform)'!='Orbis'">LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22. <PreprocessorDefinitions Condition="'$(Platform)'!='PS3' And '$(Platform)'!='Orbis'">LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23. <PreprocessorDefinitions Condition="'$(Platform)'=='PS3'">LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','/'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  24. <PreprocessorDefinitions Condition="'$(Platform)'=='PS3'">LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','/'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  25. <PreprocessorDefinitions Condition="'$(Platform)'=='Orbis'">LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','/'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  26. <PreprocessorDefinitions Condition="'$(Platform)'=='Orbis'">LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','/'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  27. <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  28. <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  29. <PreprocessorDefinitions Condition="'$(Platform)'=='Xbox 360'">_XBOX;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  30. <PreprocessorDefinitions Condition="'$(Platform)'=='PS3'">$(Ps3Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  31. <PreprocessorDefinitions Condition="'$(Platform)'=='Orbis'">$(OrbisDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  32. <BufferSecurityCheck Condition="'$(Platform)'=='Xbox 360'">false</BufferSecurityCheck>
  33. </ClCompile>
  34. <ClCompile Condition="'$(Configuration)'=='Debug'">
  35. <GenerateDebugInformation>true</GenerateDebugInformation>
  36. <Optimization>Disabled</Optimization>
  37. <RuntimeLibrary Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">MultiThreadedDebugDLL</RuntimeLibrary>
  38. <RuntimeLibrary Condition="'$(Platform)'=='Xbox 360'">MultiThreadedDebug</RuntimeLibrary>
  39. <PreprocessorDefinitions>_DEBUG;LOL_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  40. </ClCompile>
  41. <ClCompile Condition="'$(Configuration)'=='Release'">
  42. <GenerateDebugInformation>true</GenerateDebugInformation>
  43. <!-- For Microsoft tools -->
  44. <Optimization>MaxSpeed</Optimization>
  45. <!-- For PlayStation tools -->
  46. <OptimizationLevel>Level2</OptimizationLevel>
  47. <RuntimeLibrary Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">MultiThreadedDLL</RuntimeLibrary>
  48. <RuntimeLibrary Condition="'$(Platform)'=='Xbox 360'">MultiThreaded</RuntimeLibrary>
  49. <FunctionLevelLinking>true</FunctionLevelLinking>
  50. <IntrinsicFunctions>true</IntrinsicFunctions>
  51. <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  52. <PreprocessorDefinitions>NDEBUG;LOL_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  53. </ClCompile>
  54. <Link>
  55. <!-- FIXME: not for the static library! -->
  56. <AdditionalDependencies Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;$(SdlDeps);$(FfmpegDeps);$(LibGccDeps);$(GdiDeps);$(XinputDeps);%(AdditionalDependencies)</AdditionalDependencies>
  57. <AdditionalDependencies Condition="'$(UseOpenGL)'=='true' And ('$(Platform)'=='Win32' Or '$(Platform)'=='x64')">$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  58. <AdditionalDependencies Condition="'$(UseOpenGL)'=='false' And ('$(Platform)'=='Win32' Or '$(Platform)'=='x64')">$(D3d9Deps);%(AdditionalDependencies)</AdditionalDependencies>
  59. <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  60. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(LibGccLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  61. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  62. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(FfmpegLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  63. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  64. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(D3d9Libs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  65. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(XinputLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  66. <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  67. <AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">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>
  68. <AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;%(AdditionalDependencies)</AdditionalDependencies>
  69. <AdditionalLibraryDirectories Condition="'$(Platform)'=='PS3'">$(Ps3Libs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  70. <AdditionalLibraryDirectories Condition="'$(Platform)'=='PS3'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  71. <AdditionalDependencies Condition="'$(Platform)'=='PS3'">$(Ps3Deps);%(AdditionalDependencies)</AdditionalDependencies>
  72. <AdditionalDependencies Condition="'$(Platform)'=='PS3'">$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  73. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Orbis'">$(OrbisLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  74. <AdditionalDependencies Condition="'$(Platform)'=='Orbis'">$(OrbisDeps);%(AdditionalDependencies)</AdditionalDependencies>
  75. </Link>
  76. <Link Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  77. <SubSystem>Windows</SubSystem>
  78. </Link>
  79. <Link Condition="'$(Configuration)'=='Debug'">
  80. <GenerateDebugInformation>true</GenerateDebugInformation>
  81. </Link>
  82. <Link Condition="'$(Configuration)'=='Release'">
  83. <GenerateDebugInformation>true</GenerateDebugInformation>
  84. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  85. <OptimizeReferences>true</OptimizeReferences>
  86. </Link>
  87. <!-- FIXME: not for the static library! -->
  88. <PostBuildEvent Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  89. <Command>
  90. set A=$(SdlLibs)
  91. :again
  92. for /f "tokens=1* delims=;" %%I in ("%A%") do (
  93. if not "%%I" == "" echo xcopy /y /c /d "%%I"\*.dll "$(TargetDir)"
  94. if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)"
  95. if not "%%I" == "" set A=%%J
  96. if not "%%I" == "" goto again
  97. )
  98. </Command>
  99. </PostBuildEvent>
  100. <!-- FIXME: not for the static library! -->
  101. <Deploy Condition="'$(Platform)'=='Xbox 360'">
  102. <DeploymentType>CopyToHardDrive</DeploymentType>
  103. </Deploy>
  104. </ItemDefinitionGroup>
  105. </Project>