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.

56 lines
1.3 KiB

  1. $MacroRequired "SRCDIR"
  2. $Configuration "Debug"
  3. {
  4. $Compiler
  5. {
  6. $PreprocessorDefinitions "DEBUG;_DEBUG"
  7. $OptimizerLevel "-gdwarf-2 -g $(OptimizerLevel_CompilerSpecific)" [$OSXALL]
  8. $OptimizerLevel "-gdwarf-4 -g $(OptimizerLevel_CompilerSpecific)" [$LINUX]
  9. }
  10. }
  11. $Configuration "Release"
  12. {
  13. $Compiler
  14. {
  15. $PreprocessorDefinitions "NDEBUG"
  16. $OptimizerLevel "-gdwarf-2 -g $(OptimizerLevel_CompilerSpecific)" [$OSXALL]
  17. $OptimizerLevel "-gdwarf-4 -g $(OptimizerLevel_CompilerSpecific)" [$LINUX]
  18. $PreprocessorDefinitions "$BASE;RELEASE_ASSERTS" [$RELEASEASSERTS]
  19. }
  20. }
  21. $Configuration
  22. {
  23. $General
  24. {
  25. $ConfigurationType "Application (.exe)"
  26. }
  27. $Compiler
  28. {
  29. $AdditionalIncludeDirectories "$SRCDIR\common;$SRCDIR\public;$SRCDIR\public\tier0;$SRCDIR\public\tier1"
  30. $PreprocessorDefinitions "$BASE;DEDICATED"
  31. $PreprocessorDefinitions "$BASE;LINUX;_LINUX" [$LINUX]
  32. $PreprocessorDefinitions "$BASE;_OSX;OSX;_DARWIN_UNLIMITED_SELECT;FD_SETSIZE=10240;" [$OSXALL]
  33. $PreprocessorDefinitions "$BASE;_DEMO" [$DEMO]
  34. $SymbolVisibility "hidden" [$POSIX]
  35. $GCC_ExtraCompilerFlags "-U_FORTIFY_SOURCE" [$LINUXALL]
  36. }
  37. }
  38. $Project
  39. {
  40. $Folder "Link Libraries"
  41. {
  42. $ImpLib tier0 [!$IS_LIB_PROJECT]
  43. $Lib tier1 [!$IS_LIB_PROJECT]
  44. $Lib interfaces [!$IS_LIB_PROJECT]
  45. $ImpLib vstdlib [!$IS_LIB_PROJECT]
  46. }
  47. }