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.

100 lines
1.8 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. $ConfigurationType "LIB"
  20. }
  21. $GCCCompiler
  22. {
  23. // General
  24. $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"
  25. $PreprocessorDefinitions "SN_TARGET_PS3_SPU;NDEBUG;__GCC__;SPU"
  26. $ForceIncludes
  27. $GenerateDebugInformation
  28. $Warnings
  29. $ExtraWarnings
  30. $TreatWarningsAsErrors
  31. $ObjectFileName
  32. $SPURSUsage
  33. // Optimization
  34. $OptimizationLevel
  35. $FastMath
  36. $NoStrictAliasing
  37. $UnrollLoops
  38. $InlineFunctionSizeLimit
  39. // Code Generation
  40. $Position-IndependentCode
  41. $FunctionSections
  42. $DataSections
  43. $StackCheck
  44. // Language
  45. $C++ExceptionsAndRTTIUsage "Not using Exceptions or RTTI"
  46. $CheckANSICompliance
  47. $DefaultCharSigned
  48. $Permissive
  49. $RelaxC++Compliance
  50. // Command Line
  51. $AdditionalOptions
  52. }
  53. $Librarian
  54. {
  55. $OutputFile
  56. $AdditionalDependencies
  57. $WholeArchive
  58. $LinkLibraryDependencies
  59. }
  60. $PreBuildEvent
  61. {
  62. $CommandLine
  63. $Description
  64. $ExcludedFromBuild "No"
  65. }
  66. $PreLinkEvent
  67. {
  68. $CommandLine
  69. $Description
  70. $ExcludedFromBuild "No"
  71. }
  72. $PostBuildEvent
  73. {
  74. $CommandLine
  75. $Description
  76. $ExcludedFromBuild "No"
  77. }
  78. $CustomBuildStep
  79. {
  80. // General
  81. $CommandLine
  82. $Description
  83. $Outputs
  84. $AdditionalDependencies
  85. }
  86. }