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.

320 lines
7.2 KiB

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