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.

108 lines
2.0 KiB

  1. //-----------------------------------------------------------------------------
  2. // Base Settings for Source(TM) Projects
  3. //-----------------------------------------------------------------------------
  4. $MacroRequired "SRCDIR"
  5. $MacroRequired "OUTBINNAME"
  6. $MacroRequired "OUTBINDIR"
  7. $MacroRequired "SCE_LIBROOT"
  8. $IgnoreRedundancyWarning "ON"
  9. $Configuration "Release"
  10. {
  11. $General
  12. {
  13. // General
  14. $OutputDirectory ".\Release_PS3"
  15. $IntermediateDirectory ".\Release_PS3"
  16. $ExtensionsToDeleteOnClean
  17. $BuildLogFile
  18. $SystemIncludeDependencies
  19. }
  20. $GCCCompiler
  21. {
  22. // General
  23. $AdditionalIncludeDirectories "$QUOTE$(SN_PS3_PATH)\spu\include\sn$QUOTE;$QUOTE$(SCE_PS3_ROOT)\target\spu\include$QUOTE;$QUOTE$(SCE_PS3_ROOT)\target\common\include$QUOTE"
  24. $PreprocessorDefinitions "SN_TARGET_PS3_SPU;NDEBUG;__GCC__;SPU"
  25. $ForceIncludes
  26. $GenerateDebugInformation
  27. $Warnings
  28. $ExtraWarnings
  29. $TreatWarningsAsErrors
  30. $ObjectFileName
  31. $SPURSUsage
  32. // Optimization
  33. $OptimizationLevel
  34. $FastMath
  35. $NoStrictAliasing
  36. $UnrollLoops
  37. $InlineFunctionSizeLimit
  38. // Code Generation
  39. $Position-IndependentCode
  40. $FunctionSections
  41. $DataSections
  42. $StackCheck
  43. // Language
  44. $C++ExceptionsAndRTTIUsage "Not using Exceptions or RTTI"
  45. $CheckANSICompliance
  46. $DefaultCharSigned
  47. $Permissive
  48. $RelaxC++Compliance
  49. // Command Line
  50. $AdditionalOptions
  51. }
  52. $GCCLinker
  53. {
  54. $OutputFile
  55. $AdditionalDependencies
  56. $AdditionalLibraryDirectories
  57. $ExportLibrary
  58. $SPURSUsage
  59. $Position-IndependentCode
  60. $EmitRelocations
  61. $GarbageCollection
  62. $GenerateMapFile
  63. $MapFileName
  64. $LinkLibraryDependencies
  65. // Command Line
  66. $AdditionalOptions
  67. }
  68. $PreBuildEvent
  69. {
  70. $CommandLine
  71. $Description
  72. $ExcludedFromBuild "No"
  73. }
  74. $PreLinkEvent
  75. {
  76. $CommandLine
  77. $Description
  78. $ExcludedFromBuild "No"
  79. }
  80. $PostBuildEvent
  81. {
  82. $CommandLine
  83. $Description
  84. $ExcludedFromBuild "No"
  85. }
  86. $CustomBuildStep
  87. {
  88. // General
  89. $CommandLine
  90. $Description
  91. $Outputs
  92. $AdditionalDependencies
  93. }
  94. }