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.

264 lines
6.7 KiB

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