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.

202 lines
4.8 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_LIB_WIN32_RELEASE.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 "Release"
  14. {
  15. $General
  16. {
  17. // General
  18. $OutputDirectory "$OUTLIBDIR"
  19. $IntermediateDirectory ".\Release$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 "Use Link Time Code Generation" [$LTCG]
  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 "C7 Compatible (/Z7)"
  49. $SuppressStartupBanner
  50. $WarningLevel "Level 4 (/W4)"
  51. $Detect64bitPortabilityIssues "Yes (/Wp64)"
  52. $TreatWarningsAsErrors
  53. $UseUNICODEResponseFiles "No"
  54. // Optimization
  55. $Optimization "Maximize Speed (/O2)"
  56. $InlineFunctionExpansion "Any Suitable (/Ob2)"
  57. $EnableIntrinsicFunctions "Yes (/Oi)"
  58. $FavorSizeOrSpeed "Favor Fast Code (/Ot)"
  59. $OmitFramePointers
  60. $EnableFiberSafeOptimizations
  61. $WholeProgramOptimization
  62. // Preprocessor
  63. $PreprocessorDefinitions "$BASE;WIN32;_WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_ALLOW_RUNTIME_LIBRARY_MISMATCH;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_ALLOW_MSC_VER_MISMATCH;%(PreprocessorDefinitions)"
  64. $IgnoreStandardIncludePath
  65. $GeneratePreprocessedFile
  66. $KeepComments
  67. // Code Generation
  68. $EnableStringPooling "Yes (/GF)"
  69. $EnableMinimalRebuild
  70. $EnableC++Exceptions "No"
  71. $SmallerTypeCheck
  72. $BasicRuntimeChecks
  73. $RuntimeLibrary "Multi-threaded (/MT)"
  74. $StructMemberAlignment
  75. $BufferSecurityCheck "No" [$WINDOWS]
  76. $EnableFunctionLevelLinking "Yes (/Gy)"
  77. $EnableEnhancedInstructionSet
  78. $FloatingPointModel "Fast (/fp:fast)"
  79. $EnableFloatingPointExceptions
  80. // Language
  81. $DisableLanguageExtensions
  82. $DefaultCharUnsigned
  83. $TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
  84. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  85. $EnableRunTimeTypeInfo "Yes (/GR)"
  86. $OpenMPSupport "No"
  87. // Precompiled Headers
  88. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  89. $Create/UsePCHThroughFile
  90. $PrecompiledHeaderFile
  91. // Output Files
  92. $ExpandAttributedSource "No"
  93. $AssemblerOutput "No Listing"
  94. $ASMListLocation "$(IntDir)/"
  95. $ObjectFileName "$(IntDir)/"
  96. $ProgramDatabaseFileName "$(IntDir)/"
  97. $GenerateXMLDocumentationFiles "No"
  98. $XMLDocumentationFileName
  99. // Browse Information
  100. $EnableBrowseInformation "None"
  101. $BrowseFile "$(IntDir)/"
  102. // Advanced
  103. $CallingConvention
  104. $CompileAs "Compile as C++ Code (/TP)"
  105. $DisableSpecificWarnings
  106. $ForceIncludes
  107. $Force#Using
  108. $ShowIncludes
  109. $UndefinePreprocessorDefinitions
  110. $UndefineAllPreprocessorDefinitions
  111. $UseFullPaths
  112. $OmitDefaultLibraryNames
  113. $ErrorReporting "Prompt Immediately (/errorReport:prompt)"
  114. // Command Line
  115. $AdditionalOptions "/MP"
  116. // Enable extra debugging information.
  117. $AdditionalOptions "$BASE /d2Zi+"
  118. $AdditionalOptions "$BASE /Oy-" [$NOFPO]
  119. }
  120. $Librarian
  121. {
  122. // General
  123. $OutputFile "$OUTLIBDIR\$OUTLIBNAME.lib"
  124. $AdditionalDependencies
  125. $AdditionalLibraryDirectories
  126. $SuppressStartupBanner "Yes (/NOLOGO)"
  127. $ModuleDefinitionFileName
  128. $IgnoreAllDefaultLibraries
  129. $IgnoreSpecificLibrary
  130. $ExportNamedFunctions
  131. $ForceSymbolReferences
  132. $UseUNICODEResponseFiles "No"
  133. $LinkLibraryDependencies
  134. // Command Line
  135. $AdditionalOptions
  136. }
  137. $XMLDocumentGenerator
  138. {
  139. // General
  140. $SuppressStartupBanner "Yes (/nologo)"
  141. $ValidateIntelliSense
  142. $AdditionalDocumentFiles
  143. $OutputDocumentFile
  144. $DocumentLibraryDependencies
  145. $UseUNICODEResponseFiles
  146. }
  147. $BrowseInformation
  148. {
  149. $SuppressStartupBanner "Yes (/nologo)"
  150. $OutputFile "$(OutDir)/$OUTLIBNAME.bsc"
  151. $AdditionalOptions
  152. }
  153. $PreBuildEvent
  154. {
  155. $CommandLine
  156. $Description
  157. $ExcludedFromBuild "No"
  158. }
  159. $PreLinkEvent
  160. {
  161. $CommandLine
  162. $Description
  163. $ExcludedFromBuild "No"
  164. }
  165. $PostBuildEvent
  166. {
  167. $CommandLine
  168. $Description
  169. $ExcludedFromBuild "No"
  170. }
  171. $CustomBuildStep
  172. {
  173. // General
  174. $CommandLine
  175. $Description
  176. $Outputs
  177. $AdditionalDependencies
  178. }
  179. }