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.

260 lines
6.2 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_XEX_X360_DEBUG.VPC
  3. //
  4. // Base Settings for Source(TM) Projects
  5. //-----------------------------------------------------------------------------
  6. $MacroRequired "LOADADDRESS_DEVELOPMENT"
  7. $MacroRequired "SRCDIR"
  8. $MacroRequired "OUTBINNAME"
  9. $MacroRequired "OUTBINDIR"
  10. $IgnoreRedundancyWarning "ON"
  11. $Configuration "Debug"
  12. {
  13. $General
  14. {
  15. // General
  16. $OutputDirectory ".\Debug_360"
  17. $IntermediateDirectory ".\Debug_360"
  18. $ExtensionsToDeleteOnClean
  19. $BuildLogFile
  20. $InheritedProjectPropertySheets
  21. // Project Defaults
  22. $ConfigurationType "Application (.exe)"
  23. $CharacterSet "Not Set"
  24. $WholeProgramOptimization "No Whole Program Optimization"
  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. $MultiProcessorCompilation "Yes (/MP)"
  42. // Optimization
  43. $Optimization "Disabled (/Od)"
  44. $InlineFunctionExpansion
  45. $EnableIntrinsicFunctions "Yes (/Oi)"
  46. $FavorSizeOrSpeed "Neither"
  47. $EnableFiberSafeOptimizations "No"
  48. $WholeProgramOptimization "No"
  49. // Preprocessor
  50. $PreprocessorDefinitions "_HAS_ITERATOR_DEBUGGING=0;_X360;_DEBUG;DEBUG;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
  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
  60. $BasicRuntimeChecks "Both (/RTC1, equiv. to /RTCsu)"
  61. $RuntimeLibrary "Multi-threaded Debug (/MTd)"
  62. $StructMemberAlignment
  63. $BufferSecurityCheck "Yes (/GS)"
  64. $EnableFunctionLevelLinking
  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 "No"
  98. $TrapIntegerDividesOptimization "No"
  99. $PreschedulingOptimization "No"
  100. $InlineAssemblyOptimization "No"
  101. $Stalls "No"
  102. $CallAttributedProfiling "Disabled"
  103. // Command Line
  104. $AdditionalOptions "/QVMX128"
  105. }
  106. $Linker
  107. {
  108. // General
  109. $OutputFile "$(OutDir)/$OUTBINNAME.exe"
  110. $ShowProgress "Not Set"
  111. $Version
  112. $EnableIncrementalLinking "Yes (/INCREMENTAL)"
  113. $SuppressStartupBanner "Yes (/NOLOGO)"
  114. $IgnoreImportLibrary
  115. $AdditionalLibraryDirectories
  116. $LinkLibraryDependencies
  117. $UseLibraryDependencyInputs
  118. // Input
  119. $AdditionalDependencies "d3d9d.lib xapilibd.lib xboxkrnl.lib libpmcpbd.lib" [!$PROFILE && !$CERT]
  120. $AdditionalDependencies "d3d9d.lib xapilibd.lib xboxkrnl.lib libpmcpbd.lib xbdm.lib" [$PROFILE]
  121. $AdditionalDependencies "d3d9d.lib xapilibd.lib xboxkrnl.lib" [$CERT]
  122. $IgnoreAllDefaultLibraries
  123. $IgnoreSpecificLibrary "libc;libcd;libcmt;xapilib"
  124. $ModuleDefinitionFile
  125. $ForceSymbolReferences
  126. // Debugging
  127. $GenerateDebugInfo "Yes (/DEBUG)"
  128. $GenerateProgramDatabaseFile "$(IntDir)/$(TargetName).pdb"
  129. $StripPrivateSymbols
  130. $GenerateMapFile "Yes (/MAP)"
  131. $MapFileName "$(IntDir)/$(TargetName).map"
  132. $MapExports "No"
  133. // System
  134. $StackReserveSize "327680"
  135. $StackCommitSize "327680"
  136. // Optimization
  137. $References
  138. $EnableCOMDATFolding
  139. $FunctionOrder
  140. $ProfileGuidedDatabase
  141. $LinkTimeCodeGeneration
  142. // Advanced
  143. $EntryPoint
  144. $NoEntryPoint
  145. $SetChecksum "No"
  146. $BaseAddress "$LOADADDRESS_DEVELOPMENT"
  147. $FixedBaseAddress "Image must be loaded at a fixed address (/FIXED)"
  148. $ImportLibrary
  149. $MergeSections
  150. $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
  151. // Command Line
  152. $AdditionalOptions
  153. }
  154. $Xbox360ImageConversion
  155. {
  156. // General
  157. $OutputFile "$(OutDir)/$OUTBINNAME.xex"
  158. $TitleID
  159. $LANKey
  160. $SuppressStartupBanner "Yes (/NOLOGO)"
  161. $BaseAddress
  162. $HeapSize
  163. $WorkspaceSize "0xA0000"
  164. $AdditionalSections
  165. $ExportByName
  166. // Privileges
  167. $OpticalDiscDriveMapping
  168. $PAL50Incompatible
  169. // Project Defaults
  170. $ProjectDefaults
  171. // Command Line
  172. $AdditionalOptions
  173. }
  174. $BrowseInformation
  175. {
  176. $SuppressStartupBanner "Yes (/nologo)"
  177. $OutputFile "$(OutDir)/$OUTBINNAME.bsc"
  178. $AdditionalOptions
  179. }
  180. $PreBuildEvent
  181. {
  182. $CommandLine
  183. $Description
  184. $ExcludedFromBuild "No"
  185. }
  186. $PreLinkEvent
  187. {
  188. $CommandLine
  189. $Description
  190. $ExcludedFromBuild "No"
  191. }
  192. $PostBuildEvent
  193. {
  194. $CommandLine
  195. $Description
  196. $ExcludedFromBuild "No"
  197. }
  198. $CustomBuildStep
  199. {
  200. // General
  201. $CommandLine
  202. $Description
  203. $Outputs
  204. $AdditionalDependencies
  205. }
  206. $ConsoleDeployment
  207. {
  208. // Common Settings
  209. $DeploymentType "Copy to Hard Drive"
  210. $DeploymentFiles "$(RemoteRoot)=$(ImagePath);"
  211. // Copy to Hard Drive
  212. $ExcludedFromBuild "Yes"
  213. $SuppressStartupBanner "Yes (/nologo)"
  214. $Progress "No"
  215. $ForceCopy
  216. $DeploymentRoot
  217. // Emulate DVD Drive
  218. $EmulationType
  219. $Layout
  220. $LayoutRoot
  221. // Command Line
  222. $AdditionalOptions
  223. }
  224. }