Team Fortress 2 Source Code as on 22/4/2020
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.

178 lines
4.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCE_LIB_X360_RELEASE.VPC
  3. //
  4. // Base Settings for Source(TM) Projects
  5. //-----------------------------------------------------------------------------
  6. $IgnoreRedundancyWarning "ON"
  7. $MacroRequired "SRCDIR"
  8. $MacroRequired "OUTLIBNAME"
  9. $MacroRequired "OUTLIBDIR"
  10. $Configuration "Release"
  11. {
  12. $General
  13. {
  14. // General
  15. $OutputDirectory ".\Release_360"
  16. $IntermediateDirectory ".\Release_360"
  17. $ExtensionsToDeleteOnClean
  18. $BuildLogFile
  19. $InheritedProjectPropertySheets
  20. // Project Defaults
  21. $ConfigurationType "Static Library (.lib)"
  22. $CharacterSet "Not Set"
  23. $WholeProgramOptimization
  24. }
  25. $Debugging
  26. {
  27. $Command
  28. $CommandArguments
  29. $MapDVDDrive
  30. $RemoteMachine
  31. }
  32. $Compiler
  33. {
  34. // General
  35. $AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
  36. $DebugInformationFormat "C7 Compatible (/Z7)"
  37. $SuppressStartupBanner "Yes (/nologo)"
  38. $WarningLevel "Level 4 (/W4)"
  39. $TreatWarningsAsErrors "No"
  40. // Optimization
  41. $Optimization "Full Optimization (/Ox)"
  42. $InlineFunctionExpansion "Any Suitable (/Ob2)"
  43. $EnableIntrinsicFunctions "Yes (/Oi)"
  44. $FavorSizeOrSpeed "Favor Fast Code (/Ot)"
  45. $EnableFiberSafeOptimizations
  46. $WholeProgramOptimization
  47. // Preprocessor
  48. $PreprocessorDefinitions "_X360;NDEBUG;_LIB;_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;__VMX128_SUPPORTED"
  49. $PreprocessorDefinitions "$BASE;_CERT" [$CERT]
  50. $PreprocessorDefinitions "$BASE;PROFILE" [$PROFILE]
  51. $IgnoreStandardIncludePath
  52. $GeneratePreprocessedFile
  53. $KeepComments
  54. // Code Generation
  55. $EnableStringPooling "Yes (/GF)"
  56. $EnableMinimalRebuild "No"
  57. $EnableC++Exceptions "No"
  58. $SmallerTypeCheck "No"
  59. $BasicRuntimeChecks "Default"
  60. $RuntimeLibrary "Multi-threaded (/MT)"
  61. $StructMemberAlignment "Default"
  62. $BufferSecurityCheck "No"
  63. $EnableFunctionLevelLinking "Yes (/Gy)"
  64. $FloatingPointModel "Fast (/fp:fast)"
  65. $EnableFloatingPointExceptions "No"
  66. // Language
  67. $DisableLanguageExtensions "No"
  68. $DefaultCharUnsigned "No"
  69. $TreatWCHAR_TAsBuiltInType "Yes (/Zc:wchar_t)"
  70. $ForceConformanceInForLoopScope "Yes (/Zc:forScope)"
  71. $EnableRunTimeTypeInfo "Yes (/GR)"
  72. $OpenMPSupport "No"
  73. // Precompiled Headers
  74. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  75. $Create/UsePCHThroughFile
  76. $PrecompiledHeaderFile
  77. // Output Files
  78. $ExpandAttributedSource "No"
  79. $AssemblerOutput "No Listing"
  80. $ASMListLocation "$(IntDir)/"
  81. $ObjectFileName "$(IntDir)/"
  82. $ProgramDatabaseFileName "$(IntDir)/"
  83. // Browse Information
  84. $EnableBrowseInformation "None"
  85. $BrowseFile "$(IntDir)/"
  86. // Advanced
  87. $CompileAs "Compile as C++ Code (/TP)"
  88. $DisableSpecificWarnings
  89. $ForceIncludes "tier0/platform.h"
  90. $ShowIncludes "No"
  91. $UndefinePreprocessorDefinitions
  92. $UndefineAllPreprocessorDefinitions "No"
  93. $UseFullPaths
  94. $OmitDefaultLibraryNames
  95. // Xbox 360
  96. $RegisterReservation
  97. $TrapIntegerDividesOptimization
  98. $PreschedulingOptimization
  99. $InlineAssemblyOptimization
  100. $Stalls
  101. $CallAttributedProfiling "Call profiler within function calls. (/callcap)" [$CALLCAP]
  102. $CallAttributedProfiling "Call profiler around function calls. (/fastcap)" [$FASTCAP]
  103. // Command Line
  104. $AdditionalOptions "$BASE /QVMX128"
  105. $AdditionalOptions "$BASE /Oy-" [$NOFPO]
  106. }
  107. $Librarian
  108. {
  109. // General
  110. $OutputFile "$OUTLIBDIR\$OUTLIBNAME_360.lib"
  111. $AdditionalDependencies
  112. $AdditionalLibraryDirectories
  113. $SuppressStartupBanner "Yes (/NOLOGO)"
  114. $ModuleDefinitionFileName
  115. $IgnoreAllDefaultLibraries
  116. $IgnoreSpecificLibrary "libc;libcd;libcmtd" [!$PROFILE]
  117. $IgnoreSpecificLibrary "libc;libcd;libcmtd;xapilib" [$PROFILE]
  118. $ExportNamedFunctions
  119. $ForceSymbolReferences
  120. $LinkLibraryDependencies
  121. // Command Line
  122. }
  123. $BrowseInformation
  124. {
  125. $SuppressStartupBanner "Yes (/nologo)"
  126. $OutputFile "$(OutDir)/$OUTLIBNAME.bsc"
  127. $AdditionalOptions
  128. }
  129. $PreBuildEvent
  130. {
  131. $CommandLine
  132. $Description
  133. $ExcludedFromBuild "No"
  134. }
  135. $PreLinkEvent
  136. {
  137. $CommandLine
  138. $Description
  139. $ExcludedFromBuild "No"
  140. }
  141. $PostBuildEvent
  142. {
  143. $CommandLine
  144. $Description
  145. $ExcludedFromBuild "No"
  146. }
  147. $CustomBuildStep
  148. {
  149. // General
  150. $CommandLine
  151. $Description
  152. $Outputs
  153. $AdditionalDependencies
  154. }
  155. }