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

97 行
6.8 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>$(LolDir)\src;$(LolDir)\src\3rdparty\bullet3\src;$(LolDir)\tools\lolunit;$(PegtlIncludes);$(ImguiIncludes);$(BtPhysIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16. <AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);$(FfmpegIncludes);$(AssimpIncludes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  17. <AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(GlIncludes);$(SdlIncludes);$(FfmpegIncludes);$(AssimpIncludes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18. <PreprocessorDefinitions>NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19. <!-- Escape backslashes for C++, but replace \ with / on the PS4
  20. because the SCE VSI seems to have trouble with backslashes -->
  21. <PreprocessorDefinitions Condition="'$(Platform)'!='Orbis'">LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22. <PreprocessorDefinitions Condition="'$(Platform)'!='Orbis'">LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  23. <PreprocessorDefinitions Condition="'$(Platform)'=='Orbis'">LOL_CONFIG_PROJECTDIR="$(ProjectDir.Replace('\','/'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  24. <PreprocessorDefinitions Condition="'$(Platform)'=='Orbis'">LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Replace('\','/'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
  25. <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  26. <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  27. <PreprocessorDefinitions Condition="'$(Platform)'=='Orbis'">$(OrbisDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  28. </ClCompile>
  29. <ClCompile Condition="'$(Configuration)'=='Debug'">
  30. <GenerateDebugInformation>true</GenerateDebugInformation>
  31. <Optimization>Disabled</Optimization>
  32. <RuntimeLibrary Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">MultiThreadedDebugDLL</RuntimeLibrary>
  33. <PreprocessorDefinitions>_DEBUG;LOL_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  34. </ClCompile>
  35. <ClCompile Condition="'$(Configuration)'=='Release'">
  36. <GenerateDebugInformation>true</GenerateDebugInformation>
  37. <!-- For Microsoft tools -->
  38. <Optimization>MaxSpeed</Optimization>
  39. <!-- For PlayStation tools -->
  40. <OptimizationLevel>Level2</OptimizationLevel>
  41. <RuntimeLibrary Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">MultiThreadedDLL</RuntimeLibrary>
  42. <FunctionLevelLinking>true</FunctionLevelLinking>
  43. <IntrinsicFunctions>true</IntrinsicFunctions>
  44. <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  45. <PreprocessorDefinitions>NDEBUG;LOL_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  46. </ClCompile>
  47. <Link>
  48. <!-- FIXME: not for the static library! -->
  49. <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);$(AssimpDeps);$(LibGccDeps);$(GdiDeps);$(XinputDeps);$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  50. <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  51. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(LibGccLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  52. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  53. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(FfmpegLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  54. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(AssimpLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  55. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  56. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(XinputLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  57. <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  58. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Orbis'">$(OrbisLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  59. <AdditionalDependencies Condition="'$(Platform)'=='Orbis'">$(OrbisDeps);%(AdditionalDependencies)</AdditionalDependencies>
  60. </Link>
  61. <Link Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  62. <SubSystem Condition="'$(enable_sdl)'!='no'">Windows</SubSystem>
  63. <SubSystem Condition="'$(enable_sdl)'=='no'">Console</SubSystem>
  64. </Link>
  65. <Link Condition="'$(Configuration)'=='Debug'">
  66. <GenerateDebugInformation>true</GenerateDebugInformation>
  67. </Link>
  68. <Link Condition="'$(Configuration)'=='Release'">
  69. <GenerateDebugInformation>true</GenerateDebugInformation>
  70. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  71. <OptimizeReferences>true</OptimizeReferences>
  72. </Link>
  73. <!-- FIXME: not for the static library! -->
  74. <PostBuildEvent Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  75. <Command Condition="'$(enable_sdl)'!='no'">
  76. set A=$(SdlLibs)
  77. :again
  78. for /f "tokens=1* delims=;" %%I in ("%A%") do (
  79. if not "%%I" == "" echo xcopy /y /c /d "%%I"\*.dll "$(TargetDir)"
  80. if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)"
  81. if not "%%I" == "" set A=%%J
  82. if not "%%I" == "" goto again
  83. )
  84. </Command>
  85. </PostBuildEvent>
  86. </ItemDefinitionGroup>
  87. </Project>