You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

93 line
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. <MultiProcessorCompilation>true</MultiProcessorCompilation>
  11. <FloatingPointModel>Fast</FloatingPointModel>
  12. <AdditionalIncludeDirectories>$(SolutionDir)\..\..\src;$(SolutionDir)\..\..\src\bullet;$(FlexIncludes);$(BtPhysIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  13. <AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  14. <AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);$(XinputIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  15. <PreprocessorDefinitions>NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16. <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  17. <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18. <PreprocessorDefinitions Condition="'$(Platform)'=='Xbox 360'">_XBOX;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19. <PreprocessorDefinitions Condition="'$(Platform)'=='PS3'">$(Ps3Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20. <BufferSecurityCheck Condition="'$(Platform)'=='Xbox 360'">false</BufferSecurityCheck>
  21. </ClCompile>
  22. <ClCompile Condition="'$(Configuration)'=='Debug'">
  23. <GenerateDebugInformation>true</GenerateDebugInformation>
  24. <Optimization>Disabled</Optimization>
  25. <RuntimeLibrary Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">MultiThreadedDebugDLL</RuntimeLibrary>
  26. <RuntimeLibrary Condition="'$(Platform)'=='Xbox 360'">MultiThreadedDebug</RuntimeLibrary>
  27. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  28. </ClCompile>
  29. <ClCompile Condition="'$(Configuration)'=='Release'">
  30. <GenerateDebugInformation>true</GenerateDebugInformation>
  31. <!-- For Microsoft tools -->
  32. <Optimization>MaxSpeed</Optimization>
  33. <!-- For PlayStation tools -->
  34. <OptimizationLevel>Level2</OptimizationLevel>
  35. <RuntimeLibrary Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">MultiThreadedDLL</RuntimeLibrary>
  36. <RuntimeLibrary Condition="'$(Platform)'=='Xbox 360'">MultiThreaded</RuntimeLibrary>
  37. <FunctionLevelLinking>true</FunctionLevelLinking>
  38. <IntrinsicFunctions>true</IntrinsicFunctions>
  39. <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  40. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  41. </ClCompile>
  42. <Link>
  43. <!-- FIXME: not for the static library! -->
  44. <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>
  45. <AdditionalDependencies Condition="'$(UseOpenGL)'=='true' And ('$(Platform)'=='Win32' Or '$(Platform)'=='x64')">$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  46. <AdditionalDependencies Condition="'$(UseOpenGL)'=='false' And ('$(Platform)'=='Win32' Or '$(Platform)'=='x64')">$(D3d9Deps);%(AdditionalDependencies)</AdditionalDependencies>
  47. <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  48. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(SdlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  49. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  50. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(D3d9Libs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  51. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">$(XinputLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  52. <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  53. <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>
  54. <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>
  55. <AdditionalLibraryDirectories Condition="'$(Platform)'=='PS3'">$(Ps3Libs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  56. <AdditionalLibraryDirectories Condition="'$(Platform)'=='PS3'">$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  57. <AdditionalDependencies Condition="'$(Platform)'=='PS3'">$(Ps3Deps);%(AdditionalDependencies)</AdditionalDependencies>
  58. <AdditionalDependencies Condition="'$(Platform)'=='PS3'">$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  59. </Link>
  60. <Link Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  61. <SubSystem>Windows</SubSystem>
  62. </Link>
  63. <Link Condition="'$(Configuration)'=='Debug'">
  64. <GenerateDebugInformation>true</GenerateDebugInformation>
  65. </Link>
  66. <Link Condition="'$(Configuration)'=='Release'">
  67. <GenerateDebugInformation>true</GenerateDebugInformation>
  68. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  69. <OptimizeReferences>true</OptimizeReferences>
  70. </Link>
  71. <!-- FIXME: not for the static library! -->
  72. <PostBuildEvent Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
  73. <Command>
  74. set A=$(SdlLibs)
  75. :again
  76. for /f "tokens=1* delims=;" %%I in ("%A%") do (
  77. if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" &amp;&amp; set A=%%J
  78. if not "%%I" == "" goto again
  79. )
  80. </Command>
  81. </PostBuildEvent>
  82. <!-- FIXME: not for the static library! -->
  83. <Deploy Condition="'$(Platform)'=='Xbox 360'">
  84. <DeploymentType>CopyToHardDrive</DeploymentType>
  85. </Deploy>
  86. </ItemDefinitionGroup>
  87. </Project>