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.

333 lines
8.0 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_EXE_WIN_WIN32_DEBUG.VPC
  3. //
  4. // Base Settings for Source(TM) Projects
  5. //-----------------------------------------------------------------------------
  6. $IgnoreRedundancyWarning "ON"
  7. $MacroRequired "SRCDIR"
  8. $MacroRequired "OUTBINNAME"
  9. $MacroRequired "OUTBINDIR"
  10. $MacroRequired "LIBPUBLIC"
  11. $MacroRequired "LIBCOMMON"
  12. $MacroRequired "PLATSUBDIR"
  13. $MacroRequiredAllowEmpty "GAMENAME"
  14. $MacroRequiredAllowEmpty "INTERMEDIATESUBDIR"
  15. $MacroRequiredAllowEmpty "_UNITYSUBDIR"
  16. $MacroRequiredAllowEmpty "_STATICSUBDIR"
  17. $Macro "_SUBDIRSUFFIX" "$INTERMEDIATESUBDIR$_STATICSUBDIR$GAMENAME$PLATSUBDIR$_UNITYSUBDIR"
  18. $Configuration "Debug"
  19. {
  20. $General
  21. {
  22. // General
  23. $OutputDirectory ".\Debug$_SUBDIRSUFFIX"
  24. $IntermediateDirectory ".\Debug$_SUBDIRSUFFIX"
  25. $ExtensionsToDeleteOnClean
  26. $BuildLogFile
  27. $InheritedProjectPropertySheets
  28. // Project Defaults
  29. $ConfigurationType "Application (.exe)"
  30. $UseOfMFC
  31. $UseOfATL
  32. $MinimizeCRTUseInATL
  33. $CharacterSet "Use Multi-Byte Character Set"
  34. $CommonLanguageRuntimeSupport
  35. $WholeProgramOptimization
  36. }
  37. $Debugging
  38. {
  39. // Action
  40. $Command
  41. $CommandArguments
  42. $WorkingDirectory
  43. $Attach
  44. $DebuggerType
  45. $Environment
  46. $MergeEnvironment
  47. $SQLDebugging
  48. }
  49. $Compiler
  50. {
  51. // General
  52. $AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
  53. $Resolve#UsingReferences
  54. $DebugInformationFormat "Program Database for Edit & Continue (/ZI)" [$WIN32]
  55. $DebugInformationFormat "Program Database (/Zi)" [$WIN64]
  56. $SuppressStartupBanner
  57. $WarningLevel "Level 4 (/W4)"
  58. $TreatWarningsAsErrors "No"
  59. $UseUNICODEResponseFiles "No"
  60. // Optimization
  61. $Optimization "Disabled (/Od)"
  62. $InlineFunctionExpansion
  63. $EnableIntrinsicFunctions
  64. $FavorSizeOrSpeed
  65. $OmitFramePointers
  66. $EnableFiberSafeOptimizations
  67. $WholeProgramOptimization
  68. // Preprocessor
  69. $PreprocessorDefinitions "$BASE;WIN32;_WIN32;_DEBUG;DEBUG;_WINDOWS;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)"
  70. $PreprocessorDefinitions "$BASE;_HAS_ITERATOR_DEBUGGING=0;_ALLOW_RUNTIME_LIBRARY_MISMATCH;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_ALLOW_MSC_VER_MISMATCH;" [!$WIN64&&!$VS2015]
  71. $IgnoreStandardIncludePath
  72. $GeneratePreprocessedFile
  73. $KeepComments
  74. // Code Generation
  75. $EnableStringPooling "Yes (/GF)"
  76. // EnableMinimalRebuild is incompatible with /MP (multi-processor builds)
  77. // and it also makes it hard to iterate on warnings because the compiler
  78. // detects that there is no reason to recompile when you request it.
  79. // It should always be off? It should definitely be off for /analyze builds.
  80. //$EnableMinimalRebuild "Yes (/Gm)" [!$ANALYZE]
  81. $EnableC++Exceptions "No"
  82. $SmallerTypeCheck
  83. $BasicRuntimeChecks "Default"
  84. $RuntimeLibrary "Multi-threaded Debug (/MTd)"
  85. $StructMemberAlignment
  86. $BufferSecurityCheck "Yes"
  87. $EnableFunctionLevelLinking
  88. $EnableEnhancedInstructionSet
  89. $FloatingPointModel "Fast (/fp:fast)"
  90. $EnableFloatingPointExceptions
  91. // Language
  92. $DisableLanguageExtensions
  93. $DefaultCharUnsigned "No"
  94. $TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
  95. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  96. $EnableRunTimeTypeInfo "Yes (/GR)"
  97. $OpenMPSupport "No"
  98. // Precompiled Headers
  99. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  100. $Create/UsePCHThroughFile
  101. $PrecompiledHeaderFile
  102. // Output Files
  103. $ExpandAttributedSource "No"
  104. $AssemblerOutput "No Listing"
  105. $ASMListLocation "$(IntDir)/"
  106. $ObjectFileName "$(IntDir)/"
  107. $ProgramDatabaseFileName "$(IntDir)/"
  108. $GenerateXMLDocumentationFiles
  109. $XMLDocumentationFileName
  110. // Browse Information
  111. $EnableBrowseInformation "None"
  112. $BrowseFile "$(IntDir)/"
  113. // Advanced
  114. $CallingConvention
  115. $CompileAs "Compile as C++ Code (/TP)"
  116. $DisableSpecificWarnings
  117. $ForceIncludes
  118. $Force#Using
  119. $ShowIncludes
  120. $UndefinePreprocessorDefinitions
  121. $UndefineAllPreprocessorDefinitions
  122. $UseFullPaths "Yes (/FC)"
  123. $OmitDefaultLibraryNames
  124. $ErrorReporting "Prompt Immediately (/errorReport:prompt)"
  125. // Command Line
  126. $AdditionalOptions
  127. }
  128. $Linker
  129. {
  130. // General
  131. $OutputFile "$(OutDir)/$OUTBINNAME.exe"
  132. $ShowProgress "Not Set"
  133. $Version
  134. $EnableIncrementalLinking "Yes (/INCREMENTAL)"
  135. $SuppressStartupBanner "Yes (/NOLOGO)"
  136. $IgnoreImportLibrary
  137. $RegisterOutput
  138. $AdditionalLibraryDirectories
  139. $LinkLibraryDependencies
  140. $UseLibraryDependencyInputs
  141. $UseUNICODEResponseFiles "No"
  142. // Input
  143. $AdditionalDependencies
  144. $IgnoreAllDefaultLibraries
  145. $IgnoreSpecificLibrary "libc;libcd;libcmt;libcpmt;libcpmt1"
  146. $ModuleDefinitionFile
  147. $AddModuleToAssembly
  148. $EmbedManagedResourceFile
  149. $ForceSymbolReferences
  150. $DelayLoadedDLLs
  151. $AssemblyLinkResource
  152. // Manifest File
  153. $GenerateManifest "Yes"
  154. $ManifestFile
  155. $AdditionalManifestDependencies
  156. $AllowIsolation
  157. $UACExecutionLevel
  158. // Debugging
  159. $GenerateDebugInfo "Yes (/DEBUG)"
  160. $GenerateProgramDatabaseFile "$(IntDir)/$(TargetName).pdb"
  161. $StripPrivateSymbols
  162. $MapExports
  163. $DebuggableAssembly
  164. // System
  165. $SubSystem "Windows (/SUBSYSTEM:WINDOWS)"
  166. $HeapReserveSize
  167. $HeapCommitSize
  168. $StackReserveSize
  169. $StackCommitSize
  170. $EnableLargeAddresses
  171. $TerminalServer
  172. $SwapRunFromCD
  173. $SwapRunFromNetwork
  174. $Driver
  175. // DYNAMICBASE/ASLR in debug builds is annoying and not helpful.
  176. $RandomizedBaseAddress "false"
  177. // Optimization
  178. $References
  179. $EnableCOMDATFolding
  180. $OptimizeForWindows98
  181. $FunctionOrder
  182. $ProfileGuidedDatabase
  183. $LinkTimeCodeGeneration
  184. // Embedded IDL
  185. $MIDLCommands
  186. $IgnoreEmbeddedIDL
  187. $MergeIDLBaseFileName
  188. $TypeLibrary
  189. $TypeLibResourceID
  190. // Advanced
  191. $EntryPoint
  192. $NoEntryPoint
  193. $SetChecksum
  194. $BaseAddress "$LOADADDRESS_DEVELOPMENT"
  195. $FixedBaseAddress
  196. $TurnOffAssemblyGeneration
  197. $DelayLoadedDLL
  198. $ImportLibrary
  199. $MergeSections
  200. $TargetMachine
  201. $Profile
  202. $CLRThreadAttribute
  203. $CLRImageType
  204. $KeyFile
  205. $KeyContainer
  206. $DelaySign
  207. $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
  208. $CLRUnmanagedCodeCheck
  209. // SAFE_SEH should always be disabled on debug builds.
  210. $ImageHasSafeExceptionHandlers "false"
  211. // Command Line
  212. $AdditionalOptions
  213. }
  214. $ManifestTool
  215. {
  216. // General
  217. $SuppressStartupBanner "Yes (/nologo)"
  218. $VerboseOutput
  219. $AssemblyIdentity
  220. $UseUNICODEResponseFiles
  221. $UseFAT32WorkAround
  222. // Input And Output
  223. $AdditionalManifestFiles "$SRCDIR\public\windows_default.manifest" [!$SOURCESDK]
  224. $InputResourceManifests
  225. $EmbedManifest
  226. $OutputManifestFile
  227. $ManifestResourceFile
  228. $GenerateCatalogFiles
  229. $DependencyInformationFile
  230. // Isolated COM
  231. $TypeLibraryFile
  232. $RegistrarScriptFile
  233. $ComponentFileName
  234. $ReplacementsFile
  235. // Advanced
  236. $UpdateFileHashes
  237. $UpdateFileHashesSearchPath
  238. // Command Line
  239. $AdditionalOptions
  240. }
  241. $XMLDocumentGenerator
  242. {
  243. // General
  244. $SuppressStartupBanner "Yes (/nologo)"
  245. $ValidateIntelliSense
  246. $AdditionalDocumentFiles
  247. $OutputDocumentFile
  248. $DocumentLibraryDependencies
  249. $UseUNICODEResponseFiles
  250. }
  251. $BrowseInformation
  252. {
  253. $SuppressStartupBanner "Yes (/nologo)"
  254. $OutputFile "$(OutDir)/$OUTBINNAME.bsc"
  255. $AdditionalOptions
  256. }
  257. $Resources
  258. {
  259. // General
  260. $PreprocessorDefinitions "_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)"
  261. $Culture "English (United States) (0x409)"
  262. $AdditionalIncludeDirectories
  263. $IgnoreStandardIncludePath
  264. $ShowProgress
  265. $ResourceFileName
  266. // Command Line
  267. $AdditionalOptions
  268. }
  269. $PreBuildEvent
  270. {
  271. $CommandLine
  272. $Description
  273. $ExcludedFromBuild "No"
  274. }
  275. $PreLinkEvent
  276. {
  277. $CommandLine
  278. $Description
  279. $ExcludedFromBuild "No"
  280. }
  281. $PostBuildEvent
  282. {
  283. $CommandLine
  284. $Description
  285. $ExcludedFromBuild "No"
  286. }
  287. $CustomBuildStep
  288. {
  289. // General
  290. $CommandLine
  291. $Description
  292. $Outputs
  293. $AdditionalDependencies
  294. }
  295. }