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.5 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_DLL_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 "Dynamic Library (.xex)"
  23. $CharacterSet "Not Set"
  24. $WholeProgramOptimization "No Whole Program Optimization"
  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 "Disabled (/Od)"
  44. $InlineFunctionExpansion "Default"
  45. $EnableIntrinsicFunctions "Yes (/Oi)"
  46. $FavorSizeOrSpeed "Neither"
  47. $EnableFiberSafeOptimizations "No"
  48. $WholeProgramOptimization "No"
  49. // Preprocessor
  50. $PreprocessorDefinitions "_HAS_ITERATOR_DEBUGGING=0;_X360;_DEBUG;DEBUG;_USRDLL;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
  51. $PreprocessorDefinitions "$BASE;_CERT" [$CERT]
  52. $IgnoreStandardIncludePath "No"
  53. $GeneratePreprocessedFile "No"
  54. $KeepComments "No"
  55. // Code Generation
  56. $EnableStringPooling "Yes (/GF)"
  57. $EnableMinimalRebuild "Yes (/Gm)"
  58. $EnableC++Exceptions "No"
  59. $SmallerTypeCheck "No"
  60. $BasicRuntimeChecks "Both (/RTC1, equiv. to /RTCsu)"
  61. $RuntimeLibrary "Multi-threaded Debug (/MTd)"
  62. $StructMemberAlignment "Default"
  63. // 360 Issue: Enable BufferSecurityCheck below in AdditionalOptions
  64. $BufferSecurityCheck "No"
  65. $EnableFunctionLevelLinking "No"
  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 "Yes (/FC)"
  96. $OmitDefaultLibraryNames "No"
  97. // Xbox 360
  98. $RegisterReservation "No"
  99. $TrapIntegerDividesOptimization "No"
  100. $PreschedulingOptimization "No"
  101. $InlineAssemblyOptimization "No"
  102. $Stalls "No"
  103. $CallAttributedProfiling "Disabled"
  104. // Command Line
  105. $AdditionalOptions "/QVMX128 /GS"
  106. }
  107. $Linker
  108. {
  109. // General
  110. $OutputFile "$(OutDir)/$OUTBINNAME_360.dll"
  111. $ShowProgress "Not Set"
  112. $Version
  113. $EnableIncrementalLinking "Yes (/INCREMENTAL)"
  114. $SuppressStartupBanner "Yes (/NOLOGO)"
  115. $IgnoreImportLibrary "No"
  116. $AdditionalLibraryDirectories "$SRCDIR\lib\common;$SRCDIR\lib\public"
  117. $LinkLibraryDependencies
  118. $UseLibraryDependencyInputs
  119. // Input
  120. $AdditionalDependencies "d3d9d.lib xapilibd.lib xboxkrnl.lib xgraphicsd.lib libpmcpbd.lib"
  121. $AdditionalDependencies "d3d9d.lib xapilibd.lib xboxkrnl.lib xgraphicsd.lib libpmcpbd.lib xbdm.lib" [$PROFILE]
  122. $AdditionalDependencies "d3d9d.lib xapilibd.lib xboxkrnl.lib xgraphicsd.lib" [$CERT]
  123. $IgnoreAllDefaultLibraries "No"
  124. $IgnoreSpecificLibrary "libc;libcd;libcmt;xapilib"
  125. $ModuleDefinitionFile "xbox\xbox.def"
  126. $ForceSymbolReferences
  127. // Debugging
  128. $GenerateDebugInfo "Yes (/DEBUG)"
  129. $GenerateProgramDatabaseFile "$(IntDir)/$(TargetName).pdb"
  130. $StripPrivateSymbols
  131. $GenerateMapFile "No"
  132. $MapFileName "$(IntDir)/$(TargetName).map"
  133. $MapExports "Yes (/MAPINFO:EXPORTS)"
  134. // System
  135. $StackReserveSize "327680"
  136. $StackCommitSize "327680"
  137. // Optimization
  138. $References "Default"
  139. $EnableCOMDATFolding "Default"
  140. $FunctionOrder
  141. $ProfileGuidedDatabase
  142. $LinkTimeCodeGeneration "Default"
  143. // Advanced
  144. $EntryPoint "_DllMainCRTStartup"
  145. $NoEntryPoint "No"
  146. $SetChecksum "No"
  147. $BaseAddress "$LOADADDRESS_DEVELOPMENT"
  148. $FixedBaseAddress "Image must be loaded at a fixed address (/FIXED)"
  149. $ImportLibrary
  150. $MergeSections
  151. $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
  152. // Command Line
  153. $AdditionalOptions
  154. }
  155. $Xbox360ImageConversion
  156. {
  157. // General
  158. $OutputFile "$(OutDir)/$OUTBINNAME_360_converted.dll"
  159. $TitleID
  160. $LANKey
  161. $SuppressStartupBanner "Yes (/NOLOGO)"
  162. $BaseAddress
  163. $HeapSize
  164. $WorkspaceSize "0xA0000"
  165. $AdditionalSections
  166. $ExportByName "No"
  167. // Privileges
  168. $OpticalDiscDriveMapping "Not Set"
  169. $PAL50Incompatible "Not Set"
  170. // Project Defaults
  171. $ProjectDefaults
  172. // Command Line
  173. $AdditionalOptions
  174. }
  175. $BrowseInformation
  176. {
  177. $SuppressStartupBanner "Yes (/nologo)"
  178. $OutputFile "$(OutDir)/$OUTBINNAME.bsc"
  179. $AdditionalOptions
  180. }
  181. $PreBuildEvent
  182. {
  183. $CommandLine
  184. $Description
  185. $ExcludedFromBuild "No"
  186. }
  187. $PreLinkEvent
  188. {
  189. $CommandLine
  190. $Description
  191. $ExcludedFromBuild "No"
  192. }
  193. $PostBuildEvent
  194. {
  195. $CommandLine
  196. $Description
  197. $ExcludedFromBuild "No"
  198. }
  199. $CustomBuildStep
  200. {
  201. // General
  202. $CommandLine
  203. $Description
  204. $Outputs
  205. $AdditionalDependencies
  206. }
  207. $ConsoleDeployment
  208. {
  209. // Common Settings
  210. $DeploymentType "Copy to Hard Drive"
  211. $DeploymentFiles "$(RemoteRoot)=$(ImagePath);"
  212. // Copy to Hard Drive
  213. $ExcludedFromBuild "Yes"
  214. $SuppressStartupBanner "Yes (/nologo)"
  215. $Progress "No"
  216. $ForceCopy "No"
  217. $DeploymentRoot
  218. // Emulate DVD Drive
  219. $EmulationType
  220. $Layout
  221. $LayoutRoot
  222. // Command Line
  223. $AdditionalOptions
  224. }
  225. }