Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

112 řádky
8.6 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;$(FlexIncludes);$(BtPhysIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16. <AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  17. <AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(GlIncludes);$(SdlIncludes);$(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);$(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'">$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  61. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  62. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(D3d9Libs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  63. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(XinputLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  64. <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  65. <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>
  66. <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>
  67. <AdditionalLibraryDirectories Condition="'$(Platform)'=='PS3'">$(Ps3Libs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  68. <AdditionalLibraryDirectories Condition="'$(Platform)'=='PS3'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  69. <AdditionalDependencies Condition="'$(Platform)'=='PS3'">$(Ps3Deps);%(AdditionalDependencies)</AdditionalDependencies>
  70. <AdditionalDependencies Condition="'$(Platform)'=='PS3'">$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  71. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Orbis'">$(OrbisLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  72. <AdditionalDependencies Condition="'$(Platform)'=='Orbis'">$(OrbisDeps);%(AdditionalDependencies)</AdditionalDependencies>
  73. </Link>
  74. <Link Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  75. <SubSystem>Windows</SubSystem>
  76. </Link>
  77. <Link Condition="'$(Configuration)'=='Debug'">
  78. <GenerateDebugInformation>true</GenerateDebugInformation>
  79. </Link>
  80. <Link Condition="'$(Configuration)'=='Release'">
  81. <GenerateDebugInformation>true</GenerateDebugInformation>
  82. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  83. <OptimizeReferences>true</OptimizeReferences>
  84. </Link>
  85. <!-- FIXME: not for the static library! -->
  86. <PostBuildEvent Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  87. <Command>
  88. set A=$(SdlLibs)
  89. :again
  90. for /f "tokens=1* delims=;" %%I in ("%A%") do (
  91. if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" &amp;&amp; set A=%%J
  92. if not "%%I" == "" goto again
  93. )
  94. </Command>
  95. </PostBuildEvent>
  96. <!-- FIXME: not for the static library! -->
  97. <Deploy Condition="'$(Platform)'=='Xbox 360'">
  98. <DeploymentType>CopyToHardDrive</DeploymentType>
  99. </Deploy>
  100. </ItemDefinitionGroup>
  101. </Project>