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.
 
 
 

57 line
3.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. <MultiProcessorCompilation>true</MultiProcessorCompilation>
  11. <FloatingPointModel>Fast</FloatingPointModel>
  12. <AdditionalIncludeDirectories>$(SolutionDir)\..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  13. <AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  14. <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  15. <PreprocessorDefinitions Condition="'$(Platform)'=='Xbox 360'">_XBOX;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16. <BufferSecurityCheck Condition="'$(Platform)'=='Xbox 360'">false</BufferSecurityCheck>
  17. </ClCompile>
  18. <ClCompile Condition="'$(Configuration)'=='Debug'">
  19. <Optimization>Disabled</Optimization>
  20. <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  21. <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22. </ClCompile>
  23. <ClCompile Condition="'$(Configuration)'=='Release'">
  24. <Optimization>MaxSpeed</Optimization>
  25. <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  26. <FunctionLevelLinking>true</FunctionLevelLinking>
  27. <IntrinsicFunctions>true</IntrinsicFunctions>
  28. <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  29. <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  30. </ClCompile>
  31. <Link>
  32. <GenerateDebugInformation>true</GenerateDebugInformation>
  33. <!-- FIXME: not for the static library! -->
  34. <AdditionalDependencies Condition="'$(Platform)'=='Win32'">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);$(GlDeps);%(AdditionalDependencies)</AdditionalDependencies>
  35. <AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">$(SdlLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  36. <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>
  37. <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>
  38. </Link>
  39. <Link Condition="'$(Configuration)'=='Release'">
  40. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  41. <OptimizeReferences>true</OptimizeReferences>
  42. </Link>
  43. <!-- FIXME: not for the static library! -->
  44. <PostBuildEvent Condition="'$(Platform)'=='Win32'">
  45. <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)"</Command>
  46. </PostBuildEvent>
  47. <!-- FIXME: not for the static library! -->
  48. <Deploy Condition="'$(Platform)'=='Xbox 360'">
  49. <DeploymentType>CopyToHardDrive</DeploymentType>
  50. </Deploy>
  51. </ItemDefinitionGroup>
  52. </Project>