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.

265 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)/"
  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]
  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 "No"
  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. $BaseAddress "$LOADADDRESS_RETAIL" [$RETAIL]
  152. $FixedBaseAddress "Image must be loaded at a fixed address (/FIXED)"
  153. $ImportLibrary
  154. $MergeSections
  155. $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
  156. // Command Line
  157. }
  158. $Xbox360ImageConversion
  159. {
  160. // General
  161. $OutputFile "$(OutDir)/$OUTBINNAME_360_converted.dll"
  162. $TitleID
  163. $LANKey
  164. $SuppressStartupBanner "Yes (/NOLOGO)"
  165. $BaseAddress
  166. $HeapSize
  167. $WorkspaceSize "0xA0000"
  168. $AdditionalSections
  169. $ExportByName "No"
  170. // Privileges
  171. $OpticalDiscDriveMapping "Not Set"
  172. $PAL50Incompatible "Not Set"
  173. // Project Defaults
  174. $ProjectDefaults
  175. // Command Line
  176. $AdditionalOptions
  177. }
  178. $BrowseInformation
  179. {
  180. $SuppressStartupBanner "Yes (/nologo)"
  181. $OutputFile "$(OutDir)/$OUTBINNAME.bsc"
  182. $AdditionalOptions
  183. }
  184. $PreBuildEvent
  185. {
  186. $CommandLine
  187. $Description
  188. $ExcludedFromBuild "No"
  189. }
  190. $PreLinkEvent
  191. {
  192. $CommandLine
  193. $Description
  194. $ExcludedFromBuild "No"
  195. }
  196. $PostBuildEvent
  197. {
  198. $CommandLine
  199. $Description
  200. $ExcludedFromBuild "No"
  201. }
  202. $CustomBuildStep
  203. {
  204. // General
  205. $CommandLine
  206. $Description
  207. $Outputs
  208. $AdditionalDependencies
  209. }
  210. $ConsoleDeployment
  211. {
  212. // Common Settings
  213. $DeploymentType "Copy to Hard Drive"
  214. $DeploymentFiles "$(RemoteRoot)=$(ImagePath);"
  215. // Copy to Hard Drive
  216. $ExcludedFromBuild "Yes"
  217. $SuppressStartupBanner "Yes (/nologo)"
  218. $Progress "No"
  219. $ForceCopy "No"
  220. $DeploymentRoot
  221. // Emulate DVD Drive
  222. $EmulationType
  223. $Layout
  224. $LayoutRoot
  225. // Command Line
  226. $AdditionalOptions
  227. }
  228. }