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.

262 lines
6.3 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_XEX_X360_RELEASE.VPC
  3. //
  4. // Base Settings for Source(TM) Projects
  5. //-----------------------------------------------------------------------------
  6. $MacroRequired "LOADADDRESS_RETAIL"
  7. $MacroRequired "SRCDIR"
  8. $MacroRequired "OUTBINNAME"
  9. $MacroRequired "OUTBINDIR"
  10. $IgnoreRedundancyWarning "ON"
  11. $Configuration "Release"
  12. {
  13. $General
  14. {
  15. // General
  16. $OutputDirectory ".\Release_360"
  17. $IntermediateDirectory ".\Release_360"
  18. $ExtensionsToDeleteOnClean
  19. $BuildLogFile
  20. $InheritedProjectPropertySheets
  21. // Project Defaults
  22. $ConfigurationType "Application (.exe)"
  23. $CharacterSet "Not Set"
  24. $WholeProgramOptimization
  25. }
  26. $Debugging
  27. {
  28. $Command "$(RemoteRoot)\$(TargetFileName)"
  29. $CommandArguments
  30. $MapDVDDrive
  31. $RemoteMachine
  32. }
  33. $Compiler
  34. {
  35. // General
  36. $AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
  37. $DebugInformationFormat "Program Database (/Zi)"
  38. $SuppressStartupBanner "Yes (/nologo)"
  39. $WarningLevel "Level 4 (/W4)"
  40. $TreatWarningsAsErrors "No"
  41. $UseUNICODEResponseFiles "No"
  42. // Optimization
  43. $Optimization "Full Optimization (/Ox)"
  44. $InlineFunctionExpansion "Any Suitable (/Ob2)"
  45. $EnableIntrinsicFunctions "Yes (/Oi)"
  46. $FavorSizeOrSpeed "Favor Fast Code (/Ot)"
  47. $EnableFiberSafeOptimizations
  48. $WholeProgramOptimization
  49. // Preprocessor
  50. $PreprocessorDefinitions "_X360;NDEBUG;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;__VMX128_SUPPORTED"
  51. $PreprocessorDefinitions "$BASE;_CERT" [$CERT]
  52. $IgnoreStandardIncludePath
  53. $GeneratePreprocessedFile
  54. $KeepComments "No"
  55. // Code Generation
  56. $EnableStringPooling "Yes (/GF)"
  57. $EnableMinimalRebuild "No"
  58. $EnableC++Exceptions "No"
  59. $SmallerTypeCheck "No"
  60. $BasicRuntimeChecks
  61. $RuntimeLibrary "Multi-threaded (/MT)"
  62. $StructMemberAlignment
  63. $BufferSecurityCheck "No"
  64. $EnableFunctionLevelLinking "Yes (/Gy)"
  65. $FloatingPointModel "Fast (/fp:fast)"
  66. $EnableFloatingPointExceptions "No"
  67. // Language
  68. $DisableLanguageExtensions "No"
  69. $DefaultCharUnsigned "No"
  70. $TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
  71. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  72. $EnableRunTimeTypeInfo "Yes (/GR)"
  73. $OpenMPSupport "No"
  74. // Precompiled Headers
  75. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  76. $Create/UsePCHThroughFile
  77. $PrecompiledHeaderFile
  78. // Output Files
  79. $ExpandAttributedSource "No"
  80. $AssemblerOutput "No Listing"
  81. $ASMListLocation "$(IntDir)/"
  82. $ObjectFileName "$(IntDir)/"
  83. $ProgramDatabaseFileName "$(IntDir)/"
  84. // Browse Information
  85. $EnableBrowseInformation "None"
  86. $BrowseFile "$(IntDir)/"
  87. // Advanced
  88. $CompileAs "Compile as C++ Code (/TP)"
  89. $DisableSpecificWarnings
  90. $ForceIncludes "tier0/platform.h"
  91. $ShowIncludes "No"
  92. $UndefinePreprocessorDefinitions
  93. $UndefineAllPreprocessorDefinitions "No"
  94. $UseFullPaths
  95. $OmitDefaultLibraryNames
  96. // Xbox 360
  97. $RegisterReservation
  98. $TrapIntegerDividesOptimization
  99. $PreschedulingOptimization
  100. $InlineAssemblyOptimization
  101. $Stalls
  102. $CallAttributedProfiling
  103. // Command Line
  104. $AdditionalOptions "/QVMX128"
  105. $AdditionalOptions "$BASE /DPROFILE" [$PROFILE]
  106. }
  107. $Linker
  108. {
  109. // General
  110. $OutputFile "$(OutDir)/$OUTBINNAME.exe"
  111. $ShowProgress "Not Set"
  112. $Version
  113. $EnableIncrementalLinking "No (/INCREMENTAL:NO)"
  114. $SuppressStartupBanner "Yes (/NOLOGO)"
  115. $IgnoreImportLibrary "No"
  116. $AdditionalLibraryDirectories
  117. $LinkLibraryDependencies
  118. $UseLibraryDependencyInputs
  119. $UseUNICODEResponseFiles "No"
  120. // Input
  121. $AdditionalDependencies "d3d9.lib xapilib.lib xboxkrnl.lib libpmcpb.lib" [!$PROFILE]
  122. $AdditionalDependencies "d3d9i.lib xapilibi.lib xboxkrnl.lib libpmcpb.lib xbdm.lib" [$PROFILE]
  123. $AdditionalDependencies "d3d9.lib xapilib.lib xboxkrnl.lib" [$CERT]
  124. $IgnoreAllDefaultLibraries
  125. $IgnoreSpecificLibrary "libc;libcd;libcmtd;" [!$PROFILE]
  126. $IgnoreSpecificLibrary "libc;libcd;libcmtd;xapilib" [$PROFILE]
  127. $ModuleDefinitionFile
  128. $ForceSymbolReferences
  129. // Debugging
  130. $GenerateDebugInfo "Yes (/DEBUG)"
  131. $GenerateProgramDatabaseFile "$(IntDir)/$(TargetName).pdb"
  132. $StripPrivateSymbols
  133. $GenerateMapFile "No"
  134. $MapFileName "$(IntDir)/$(TargetName).map"
  135. $MapExports "No"
  136. // System
  137. $StackCommitSize "262144"
  138. // Optimization
  139. $References "Eliminate Unreferenced Data (/OPT:REF)"
  140. $EnableCOMDATFolding "Remove Redundant COMDATs (/OPT:ICF)"
  141. $FunctionOrder
  142. $ProfileGuidedDatabase
  143. $LinkTimeCodeGeneration
  144. // Advanced
  145. $EntryPoint
  146. $NoEntryPoint
  147. $SetChecksum "Yes (/RELEASE)"
  148. $BaseAddress "$LOADADDRESS_DEVELOPMENT"
  149. $BaseAddress "$LOADADDRESS_RETAIL" [$RETAIL]
  150. $FixedBaseAddress "Image must be loaded at a fixed address (/FIXED)"
  151. $ImportLibrary
  152. $MergeSections
  153. $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
  154. // Command Line
  155. }
  156. $Xbox360ImageConversion
  157. {
  158. // General
  159. $OutputFile "$(OutDir)/$OUTBINNAME.xex"
  160. $TitleID
  161. $LANKey
  162. $SuppressStartupBanner "Yes (/NOLOGO)"
  163. $BaseAddress
  164. $HeapSize
  165. $WorkspaceSize
  166. $AdditionalSections
  167. $ExportByName
  168. // Privileges
  169. $OpticalDiscDriveMapping
  170. $PAL50Incompatible
  171. // Project Defaults
  172. $ProjectDefaults
  173. // Command Line
  174. $AdditionalOptions
  175. }
  176. $BrowseInformation
  177. {
  178. $SuppressStartupBanner "Yes (/nologo)"
  179. $OutputFile "$(OutDir)/$OUTBINNAME.bsc"
  180. $AdditionalOptions
  181. }
  182. $PreBuildEvent
  183. {
  184. $CommandLine
  185. $Description
  186. $ExcludedFromBuild "No"
  187. }
  188. $PreLinkEvent
  189. {
  190. $CommandLine
  191. $Description
  192. $ExcludedFromBuild "No"
  193. }
  194. $PostBuildEvent
  195. {
  196. $CommandLine
  197. $Description
  198. $ExcludedFromBuild "No"
  199. }
  200. $CustomBuildStep
  201. {
  202. // General
  203. $CommandLine
  204. $Description
  205. $Outputs
  206. $AdditionalDependencies
  207. }
  208. $ConsoleDeployment
  209. {
  210. // Common Settings
  211. $DeploymentType "Copy to Hard Drive"
  212. $DeploymentFiles "$(RemoteRoot)=$(TargetPath);"
  213. // Copy to Hard Drive
  214. $ExcludedFromBuild "Yes"
  215. $SuppressStartupBanner "Yes (/nologo)"
  216. $Progress "No"
  217. $ForceCopy
  218. $DeploymentRoot
  219. // Emulate DVD Drive
  220. $EmulationType
  221. $Layout
  222. $LayoutRoot
  223. // Command Line
  224. $AdditionalOptions
  225. }
  226. }