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.

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