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.

201 lines
4.7 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_LIB_WIN32_DEBUG.VPC
  3. //
  4. // Base Settings for all Source(TM) Projects
  5. //-----------------------------------------------------------------------------
  6. $IgnoreRedundancyWarning "ON"
  7. $MacroRequired "SRCDIR"
  8. $MacroRequired "OUTLIBNAME"
  9. $MacroRequired "OUTLIBDIR"
  10. $MacroRequired "LIBPUBLIC"
  11. $MacroRequired "LIBCOMMON"
  12. $MacroRequired "PLATSUBDIR"
  13. $Configuration "Debug"
  14. {
  15. $General
  16. {
  17. // General
  18. $OutputDirectory "$OUTLIBDIR"
  19. $IntermediateDirectory ".\Debug$PLATSUBDIR"
  20. $ExtensionsToDeleteOnClean
  21. $BuildLogFile
  22. $InheritedProjectPropertySheets
  23. // Project Defaults
  24. $ConfigurationType "Static Library (.lib)"
  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)" [$WIN32]
  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 "No"
  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;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_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 "Yes (/Zc:wchar_t)"
  86. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  87. $EnableRunTimeTypeInfo "Yes (/GR)"
  88. $OpenMPSupport "No"
  89. // Precompiled Headers
  90. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  91. $Create/UsePCHThroughFile
  92. $PrecompiledHeaderFile
  93. // Output Files
  94. $ExpandAttributedSource "No"
  95. $AssemblerOutput "No Listing"
  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. $Librarian
  120. {
  121. // General
  122. $OutputFile "$OUTLIBDIR\$OUTLIBNAME.lib"
  123. $AdditionalDependencies
  124. $AdditionalLibraryDirectories
  125. $SuppressStartupBanner "Yes (/NOLOGO)"
  126. $ModuleDefinitionFileName
  127. $IgnoreAllDefaultLibraries
  128. $IgnoreSpecificLibrary
  129. $ExportNamedFunctions
  130. $ForceSymbolReferences
  131. $UseUNICODEResponseFiles "No"
  132. $LinkLibraryDependencies
  133. // Command Line
  134. $AdditionalOptions
  135. }
  136. $XMLDocumentGenerator
  137. {
  138. // General
  139. $SuppressStartupBanner "Yes (/nologo)"
  140. $ValidateIntelliSense
  141. $AdditionalDocumentFiles
  142. $OutputDocumentFile
  143. $DocumentLibraryDependencies
  144. $UseUNICODEResponseFiles
  145. }
  146. $BrowseInformation
  147. {
  148. $SuppressStartupBanner "Yes (/nologo)"
  149. $OutputFile "$(OutDir)/$OUTLIBNAME.bsc"
  150. $AdditionalOptions
  151. }
  152. $PreBuildEvent
  153. {
  154. $CommandLine
  155. $Description
  156. $ExcludedFromBuild "No"
  157. }
  158. $PreLinkEvent
  159. {
  160. $CommandLine
  161. $Description
  162. $ExcludedFromBuild "No"
  163. }
  164. $PostBuildEvent
  165. {
  166. $CommandLine
  167. $Description
  168. $ExcludedFromBuild "No"
  169. }
  170. $CustomBuildStep
  171. {
  172. // General
  173. $CommandLine
  174. $Description
  175. $Outputs
  176. $AdditionalDependencies
  177. }
  178. }