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.

323 lines
7.6 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_EXE_WIN_WIN32_RELEASE.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 "Release"
  14. {
  15. $General
  16. {
  17. // General
  18. $OutputDirectory ".\Release$PLATSUBDIR"
  19. $IntermediateDirectory ".\Release$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 "Use Link Time Code Generation" [$LTCG]
  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 (/Zi)"
  50. $SuppressStartupBanner
  51. $WarningLevel "Level 4 (/W4)"
  52. $Detect64bitPortabilityIssues "Yes (/Wp64)"
  53. $TreatWarningsAsErrors
  54. $UseUnicodeResponseFiles
  55. // Optimization
  56. $Optimization "Maximize Speed (/O2)"
  57. $InlineFunctionExpansion "Any Suitable (/Ob2)"
  58. $EnableIntrinsicFunctions "Yes (/Oi)"
  59. $FavorSizeOrSpeed "Favor Fast Code (/Ot)"
  60. $OmitFramePointers
  61. $EnableFiberSafeOptimizations
  62. $WholeProgramOptimization
  63. // Preprocessor
  64. $PreprocessorDefinitions "$BASE;WIN32;_WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_ALLOW_RUNTIME_LIBRARY_MISMATCH;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_ALLOW_MSC_VER_MISMATCH;%(PreprocessorDefinitions)"
  65. $IgnoreStandardIncludePath
  66. $GeneratePreprocessedFile
  67. $KeepComments
  68. // Code Generation
  69. $EnableStringPooling "Yes (/GF)"
  70. $EnableMinimalRebuild
  71. $EnableC++Exceptions "No"
  72. $SmallerTypeCheck
  73. $BasicRuntimeChecks
  74. $RuntimeLibrary "Multi-threaded (/MT)"
  75. $StructMemberAlignment
  76. $BufferSecurityCheck "No" [$WINDOWS]
  77. $EnableFunctionLevelLinking "Yes (/Gy)"
  78. $EnableEnhancedInstructionSet
  79. $FloatingPointModel "Fast (/fp:fast)"
  80. $EnableFloatingPointExceptions
  81. // Language
  82. $DisableLanguageExtensions
  83. $DefaultCharUnsigned "No"
  84. $TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
  85. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  86. $EnableRunTimeTypeInfo "Yes (/GR)"
  87. $OpenMPSupport "No"
  88. // Precompiled Headers
  89. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  90. $Create/UsePCHThroughFile
  91. $PrecompiledHeaderFile
  92. // Output Files
  93. $ExpandAttributedSource "No"
  94. $AssemblerOutput "No Listing"
  95. $ASMListLocation "$(IntDir)/"
  96. $ObjectFileName "$(IntDir)/"
  97. $ProgramDatabaseFileName "$(IntDir)/"
  98. $GenerateXMLDocumentationFiles
  99. $XMLDocumentationFileName
  100. // Browse Information
  101. $EnableBrowseInformation "None"
  102. $BrowseFile "$(IntDir)/"
  103. // Advanced
  104. $CallingConvention
  105. $CompileAs "Compile as C++ Code (/TP)"
  106. $DisableSpecificWarnings
  107. $ForceIncludes
  108. $Force#Using
  109. $ShowIncludes
  110. $UndefinePreprocessorDefinitions
  111. $UndefineAllPreprocessorDefinitions
  112. $UseFullPaths
  113. $OmitDefaultLibraryNames
  114. $ErrorReporting "Prompt Immediately (/errorReport:prompt)"
  115. // Command Line
  116. // Enable extra debugging information.
  117. $AdditionalOptions "$BASE /d2Zi+"
  118. $AdditionalOptions "$BASE /Oy-" [$NOFPO]
  119. }
  120. $Linker
  121. {
  122. // General
  123. $OutputFile "$(OutDir)/$OUTBINNAME.exe"
  124. $ShowProgress "Not Set"
  125. $Version
  126. $EnableIncrementalLinking "No (/INCREMENTAL:NO)"
  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;libcmtd"
  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 "Eliminate Unreferenced Data (/OPT:REF)"
  168. $EnableCOMDATFolding "Remove Redundant COMDATs (/OPT:ICF)"
  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. $BaseAddress "$LOADADDRESS_RETAIL" [$RETAIL]
  185. $FixedBaseAddress
  186. $TurnOffAssemblyGeneration
  187. $DelayLoadedDLL
  188. $ImportLibrary
  189. $MergeSections
  190. $TargetMachine
  191. $Profile
  192. $CLRThreadAttribute
  193. $CLRImageType
  194. $KeyFile
  195. $KeyContainer
  196. $DelaySign
  197. $ErrorReporting "Prompt Immediately (/ERRORREPORT:PROMPT)"
  198. $CLRUnmanagedCodeCheck
  199. // Most DLLs cannot yet handle SafeSEH
  200. $ImageHasSafeExceptionHandlers "false"
  201. // Command Line
  202. // This undocumented linker command-line option improves LTCG build speeds slightly.
  203. $AdditionalOptions "$BASE /d2:-threads8" [$VS2013 && $LTCG]
  204. }
  205. $ManifestTool
  206. {
  207. // General
  208. $SuppressStartupBanner "Yes (/nologo)"
  209. $VerboseOutput
  210. $AssemblyIdentity
  211. $UseUNICODEResponseFiles
  212. $UseFAT32WorkAround
  213. // Input And Output
  214. $AdditionalManifestFiles "$SRCDIR\public\windows_default.manifest" [!$SOURCESDK]
  215. $InputResourceManifests
  216. $EmbedManifest
  217. $OutputManifestFile
  218. $ManifestResourceFile
  219. $GenerateCatalogFiles
  220. $DependencyInformationFile
  221. // Isolated COM
  222. $TypeLibraryFile
  223. $RegistrarScriptFile
  224. $ComponentFileName
  225. $ReplacementsFile
  226. // Advanced
  227. $UpdateFileHashes
  228. $UpdateFileHashesSearchPath
  229. // Command Line
  230. $AdditionalOptions
  231. }
  232. $XMLDocumentGenerator
  233. {
  234. // General
  235. $SuppressStartupBanner "Yes (/nologo)"
  236. $ValidateIntelliSense
  237. $AdditionalDocumentFiles
  238. $OutputDocumentFile
  239. $DocumentLibraryDependencies
  240. $UseUNICODEResponseFiles
  241. }
  242. $BrowseInformation
  243. {
  244. $SuppressStartupBanner "Yes (/nologo)"
  245. $OutputFile "$(OutDir)/$OUTBINNAME.bsc"
  246. $AdditionalOptions
  247. }
  248. $Resources
  249. {
  250. // General
  251. $PreprocessorDefinitions "$BASE;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)"
  252. $Culture "English (United States) (0x409)"
  253. $AdditionalIncludeDirectories
  254. $IgnoreStandardIncludePath
  255. $ShowProgress
  256. $ResourceFileName
  257. // Command Line
  258. $AdditionalOptions
  259. }
  260. $PreBuildEvent
  261. {
  262. $CommandLine
  263. $Description
  264. $ExcludedFromBuild "No"
  265. }
  266. $PreLinkEvent
  267. {
  268. $CommandLine
  269. $Description
  270. $ExcludedFromBuild "No"
  271. }
  272. $PostBuildEvent
  273. {
  274. $CommandLine
  275. $Description
  276. $ExcludedFromBuild "No"
  277. }
  278. $CustomBuildStep
  279. {
  280. // General
  281. $CommandLine
  282. $Description
  283. $Outputs
  284. $AdditionalDependencies
  285. }
  286. }