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.

61 lines
1.6 KiB

  1. //-----------------------------------------------------------------------------
  2. // APPFRAMEWORK.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR ".."
  7. $include "$SRCDIR\vpc_scripts\source_lib_base.vpc"
  8. $Configuration
  9. {
  10. $General
  11. {
  12. $AdditionalProjectDependencies "$BASE;togl" [!$IS_LIB_PROJECT && $GL]
  13. }
  14. $Compiler
  15. {
  16. $PreprocessorDefinitions "$BASE;VERSION_SAFE_STEAM_API_INTERFACES" [($WINDOWS && $GL) || $LINUXALL]
  17. $PreprocessorDefinitions "$BASE;ALLOW_TEXT_MODE=1" [$CSTRIKE_TRUNK_BUILD||$CSTRIKE_STAGING_BUILD]
  18. }
  19. $Linker [$OSXALL && !$IS_LIB_PROJECT]
  20. {
  21. $SystemFrameworks "Carbon;OpenGL;Quartz;Cocoa;IOKit"
  22. }
  23. }
  24. $Project "appframework"
  25. {
  26. $Folder "Source Files"
  27. {
  28. $File "AppSystemGroup.cpp"
  29. $File "$SRCDIR\public\filesystem_init.cpp"
  30. $File "VguiMatSysApp.cpp" [$WINDOWS]
  31. $File "matsysapp.cpp" [$WINDOWS]
  32. $File "WinApp.cpp" [$WINDOWS]
  33. $File "posixapp.cpp" [$POSIX]
  34. $File "sdlmgr.cpp" [$SDL]
  35. $File "cocoamgr.mm" [!$SDL && $OSXALL]
  36. $File "glmrendererinfo_osx.mm" [$SDL && $OSXALL]
  37. }
  38. $Folder "Interface"
  39. {
  40. $File "$SRCDIR\public\appframework\AppFramework.h"
  41. $File "$SRCDIR\public\appframework\iappsystem.h"
  42. $File "$SRCDIR\public\appframework\IAppSystemGroup.h"
  43. $File "$SRCDIR\public\appframework\tier2app.h"
  44. $File "$SRCDIR\public\appframework\tier3app.h"
  45. $File "$SRCDIR\public\appframework\matsysapp.h"
  46. $File "$SRCDIR\public\appframework\VguiMatSysApp.h"
  47. $File "$SRCDIR\public\appframework\ilaunchermgr.h"
  48. }
  49. $Folder "Link Libraries"
  50. {
  51. $ImpLib togl [!$IS_LIB_PROJECT && $GL]
  52. $ImpLib SDL2 [!$IS_LIB_PROJECT && $SDL]
  53. }
  54. }