Team Fortress 2 Source Code as on 22/4/2020
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.

175 lines
4.1 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_LIB_X360_DEBUG.VPC
  3. //
  4. // Base Settings for Source(TM) Projects
  5. //-----------------------------------------------------------------------------
  6. $IgnoreRedundancyWarning "ON"
  7. $MacroRequired "SRCDIR"
  8. $MacroRequired "OUTLIBNAME"
  9. $MacroRequired "OUTLIBDIR"
  10. $Configuration "Debug"
  11. {
  12. $General
  13. {
  14. // General
  15. $OutputDirectory ".\Debug_360"
  16. $IntermediateDirectory ".\Debug_360"
  17. $ExtensionsToDeleteOnClean
  18. $BuildLogFile
  19. $InheritedProjectPropertySheets
  20. // Project Defaults
  21. $ConfigurationType "Static Library (.lib)"
  22. $CharacterSet "Not Set"
  23. $WholeProgramOptimization "No Whole Program Optimization"
  24. }
  25. $Debugging
  26. {
  27. $Command
  28. $CommandArguments
  29. $MapDVDDrive
  30. $RemoteMachine
  31. }
  32. $Compiler
  33. {
  34. // General
  35. $AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
  36. $DebugInformationFormat "Program Database (/Zi)"
  37. $SuppressStartupBanner "Yes (/nologo)"
  38. $WarningLevel "Level 4 (/W4)"
  39. $TreatWarningsAsErrors "No"
  40. // Optimization
  41. $Optimization "Disabled (/Od)"
  42. $InlineFunctionExpansion
  43. $EnableIntrinsicFunctions "Yes (/Oi)"
  44. $FavorSizeOrSpeed
  45. $EnableFiberSafeOptimizations
  46. $WholeProgramOptimization
  47. // Preprocessor
  48. $PreprocessorDefinitions "_HAS_ITERATOR_DEBUGGING=0;_X360;_DEBUG;DEBUG;_LIB;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
  49. $PreprocessorDefinitions "$BASE;_CERT" [$CERT]
  50. $IgnoreStandardIncludePath
  51. $GeneratePreprocessedFile
  52. $KeepComments
  53. // Code Generation
  54. $EnableStringPooling "Yes (/GF)"
  55. $EnableMinimalRebuild "Yes (/Gm)"
  56. $EnableC++Exceptions "No"
  57. $SmallerTypeCheck
  58. $BasicRuntimeChecks "Both (/RTC1, equiv. to /RTCsu)"
  59. $RuntimeLibrary "Multi-threaded Debug (/MTd)"
  60. $StructMemberAlignment
  61. // 360 Issue: Enable BufferSecurityCheck below in AdditionalOptions
  62. $BufferSecurityCheck "No"
  63. $EnableFunctionLevelLinking
  64. $FloatingPointModel "Fast (/fp:fast)"
  65. $EnableFloatingPointExceptions "No"
  66. // Language
  67. $DisableLanguageExtensions
  68. $DefaultCharUnsigned
  69. $TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
  70. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  71. $EnableRunTimeTypeInfo "Yes (/GR)"
  72. $OpenMPSupport "No"
  73. // Precompiled Headers
  74. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  75. $Create/UsePCHThroughFile
  76. $PrecompiledHeaderFile
  77. // Output Files
  78. $ExpandAttributedSource "No"
  79. $AssemblerOutput "No Listing"
  80. $ASMListLocation "$(IntDir)/"
  81. $ObjectFileName "$(IntDir)/"
  82. $ProgramDatabaseFileName "$(IntDir)/"
  83. // Browse Information
  84. $EnableBrowseInformation "None"
  85. $BrowseFile "$(IntDir)/"
  86. // Advanced
  87. $CompileAs "Compile as C++ Code (/TP)"
  88. $DisableSpecificWarnings
  89. $ForceIncludes "tier0/platform.h"
  90. $ShowIncludes "No"
  91. $UndefinePreprocessorDefinitions
  92. $UndefineAllPreprocessorDefinitions "No"
  93. $UseFullPaths
  94. $OmitDefaultLibraryNames
  95. // Xbox 360
  96. $RegisterReservation "No"
  97. $TrapIntegerDividesOptimization "No"
  98. $PreschedulingOptimization "No"
  99. $InlineAssemblyOptimization "No"
  100. $Stalls "No"
  101. $CallAttributedProfiling "Disabled"
  102. // Command Line
  103. $AdditionalOptions "/QVMX128 /GS"
  104. }
  105. $Librarian
  106. {
  107. // General
  108. $OutputFile "$OUTLIBDIR\$OUTLIBNAME_360.lib"
  109. $AdditionalDependencies
  110. $AdditionalLibraryDirectories
  111. $SuppressStartupBanner "Yes (/NOLOGO)"
  112. $ModuleDefinitionFileName
  113. $IgnoreAllDefaultLibraries
  114. $IgnoreSpecificLibrary
  115. $ExportNamedFunctions
  116. $ForceSymbolReferences
  117. $LinkLibraryDependencies
  118. // Command Line
  119. $AdditionalOptions
  120. }
  121. $BrowseInformation
  122. {
  123. $SuppressStartupBanner "Yes (/nologo)"
  124. $OutputFile "$(OutDir)/$OUTLIBNAME.bsc"
  125. $AdditionalOptions
  126. }
  127. $PreBuildEvent
  128. {
  129. $CommandLine
  130. $Description
  131. $ExcludedFromBuild "No"
  132. }
  133. $PreLinkEvent
  134. {
  135. $CommandLine
  136. $Description
  137. $ExcludedFromBuild "No"
  138. }
  139. $PostBuildEvent
  140. {
  141. $CommandLine
  142. $Description
  143. $ExcludedFromBuild "No"
  144. }
  145. $CustomBuildStep
  146. {
  147. // General
  148. $CommandLine
  149. $Description
  150. $Outputs
  151. $AdditionalDependencies
  152. }
  153. }