Counter Strike : Global Offensive Source Code
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.

263 lines
6.5 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. // Optimization
  42. $Optimization "Full Optimization (/Ox)"
  43. $InlineFunctionExpansion "Any Suitable (/Ob2)"
  44. $EnableIntrinsicFunctions "Yes (/Oi)"
  45. $FavorSizeOrSpeed "Favor Fast Code (/Ot)"
  46. $EnableFiberSafeOptimizations
  47. $WholeProgramOptimization
  48. // Preprocessor
  49. $PreprocessorDefinitions "_X360;NDEBUG;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;__VMX128_SUPPORTED"
  50. $PreprocessorDefinitions "$BASE;_CERT" [$CERT]
  51. $PreprocessorDefinitions "$BASE;PROFILE" [$PROFILE]
  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)/vc90.pdb"
  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 "Call profiler within function calls. (/callcap)" [$CALLCAP]
  103. $CallAttributedProfiling "Call profiler around function calls. (/fastcap)" [$FASTCAP]
  104. // Command Line
  105. $AdditionalOptions "$BASE /QVMX128"
  106. $AdditionalOptions "$BASE /Oy-" [$NOFPO]
  107. }
  108. $Linker
  109. {
  110. // General
  111. $OutputFile "$(OutDir)/$OUTBINNAME.exe"
  112. $ShowProgress "Not Set"
  113. $Version
  114. $EnableIncrementalLinking "No (/INCREMENTAL:NO)"
  115. $SuppressStartupBanner "Yes (/NOLOGO)"
  116. $IgnoreImportLibrary "No"
  117. $AdditionalLibraryDirectories
  118. $LinkLibraryDependencies
  119. $UseLibraryDependencyInputs
  120. // Input
  121. $AdditionalDependencies "d3d9.lib xapilib.lib xboxkrnl.lib libpmcpb.lib" [!$PROFILE && !$CERT]
  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 "Yes (/MAP)"
  134. $MapFileName "$(IntDir)/$(TargetName).map"
  135. $MapExports "No"
  136. // System
  137. $StackReserveSize "327680"
  138. $StackCommitSize "327680"
  139. // Optimization
  140. $References "Eliminate Unreferenced Data (/OPT:REF)"
  141. $EnableCOMDATFolding "Remove Redundant COMDATs (/OPT:ICF)"
  142. $FunctionOrder
  143. $ProfileGuidedDatabase
  144. $LinkTimeCodeGeneration
  145. // Advanced
  146. $EntryPoint
  147. $NoEntryPoint
  148. $SetChecksum "Yes (/RELEASE)"
  149. $BaseAddress "$LOADADDRESS_DEVELOPMENT"
  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 "0xA0000"
  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)=$(ImagePath);"
  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. }