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.

127 lines
3.5 KiB

  1. //-----------------------------------------------------------------------------
  2. // DEDICATED.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR ".."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  9. $Configuration
  10. {
  11. $Compiler
  12. {
  13. $AdditionalIncludeDirectories "$BASE,.\,$SRCDIR\engine"
  14. $PreprocessorDefinitions "$BASE;DEDICATED;LAUNCHERONLY"
  15. }
  16. $Linker
  17. {
  18. $AdditionalDependencies "$BASE wsock32.lib odbc32.lib odbccp32.lib winmm.lib" [$WINDOWS]
  19. $SystemFrameworks "AppKit"
  20. $SystemLibraries "iconv" [$OSXALL]
  21. }
  22. }
  23. $Project "Dedicated"
  24. {
  25. $Folder "Source Files"
  26. {
  27. $File "dedicated.rc"
  28. $File "sys_linux.cpp" [$POSIX]
  29. $File "filesystem.cpp"
  30. $File "$SRCDIR\public\filesystem_init.cpp"
  31. $File "$SRCDIR\common\netapi.cpp"
  32. $File "$SRCDIR\common\SteamAppStartup.cpp"
  33. $File "sys_common.cpp"
  34. $File "sys_ded.cpp"
  35. $File "sys_subproc.cpp"
  36. $File "sys_windows.cpp" [$WINDOWS]
  37. $Folder "Console"
  38. {
  39. $File "console\conproc.cpp"
  40. $File "console\textconsole.cpp"
  41. $File "console\TextConsoleUnix.cpp" [$POSIX]
  42. $File "console\TextConsoleWin32.cpp" [$WINDOWS]
  43. }
  44. $Folder "VGUI" [$WINDOWS||$POSIX]
  45. {
  46. $File "vgui\CreateMultiplayerGameServerPage.cpp"
  47. $File "vgui\MainPanel.cpp"
  48. $File "$SRCDIR\public\vgui_controls\vgui_controls.cpp"
  49. $File "vgui\vguihelpers.cpp"
  50. }
  51. $Folder "FileSystem"
  52. {
  53. $File "$SRCDIR\filesystem\filetracker.cpp"
  54. $File "$SRCDIR\filesystem\basefilesystem.cpp"
  55. $File "$SRCDIR\filesystem\basefilesystemasync.cpp"
  56. $File "$SRCDIR\filesystem\filesystem_stdio.cpp"
  57. $File "$SRCDIR\filesystem\filesystem_steam.cpp" [!$POSIX]
  58. $File "$SRCDIR\filesystem\filesystemasync.cpp"
  59. $File "$SRCDIR\public\zip_utils.cpp"
  60. $File "$SRCDIR\filesystem\linux_support.cpp" [$POSIX]
  61. }
  62. }
  63. $Folder "Header Files"
  64. {
  65. $File "$SRCDIR\filesystem\filetracker.h"
  66. $File "$SRCDIR\filesystem\threadsaferefcountedobject.h"
  67. $File "$SRCDIR\public\ifilelist.h"
  68. $File "$SRCDIR\public\tier0\basetypes.h"
  69. $File "$SRCDIR\public\tier0\dbg.h"
  70. $File "dedicated.h"
  71. $File "$SRCDIR\public\engine_hlds_api.h"
  72. $File "$SRCDIR\public\tier0\fasttimer.h"
  73. $File "$SRCDIR\public\filesystem.h"
  74. $File "$SRCDIR\common\IAdminServer.h"
  75. $File "$SRCDIR\public\appframework\iappsystem.h"
  76. $File "$SRCDIR\public\tier0\icommandline.h"
  77. $File "$SRCDIR\public\idedicatedexports.h"
  78. $File "$SRCDIR\common\IManageServer.h"
  79. $File "$SRCDIR\public\tier1\interface.h"
  80. $File "isys.h"
  81. $File "$SRCDIR\public\mathlib\mathlib.h"
  82. $File "$SRCDIR\common\netapi.h"
  83. $File "$SRCDIR\public\tier0\platform.h"
  84. $File "$SRCDIR\common\SteamAppStartup.h"
  85. $File "$SRCDIR\public\string_t.h"
  86. $File "$SRCDIR\public\tier1\strtools.h"
  87. $File "$SRCDIR\public\mathlib\vector.h"
  88. $File "$SRCDIR\public\mathlib\vector2d.h"
  89. $Folder "Console Headers"
  90. {
  91. $File "console\conproc.h"
  92. $File "$SRCDIR\common\IObjectContainer.h"
  93. $File "console\textconsole.h"
  94. $File "console\TextConsoleWin32.h"
  95. }
  96. $Folder "VGUI Headers"
  97. {
  98. $File "vgui\CreateMultiplayerGameServerPage.h"
  99. $File "vgui\MainPanel.h"
  100. $File "vgui\vguihelpers.h"
  101. }
  102. }
  103. $Folder "Link Libraries" [$WINDOWS || $POSIX]
  104. {
  105. $Lib appframework
  106. $Lib dmxloader
  107. $ImplibExternal steam_api [ ( $WIN32 || $POSIX || $PS3 ) && !$NO_STEAM ]
  108. $ImplibExternal steam_api64 [ $WIN64 && !$NO_STEAM ]
  109. $Lib mathlib
  110. $Lib tier2
  111. $Lib tier3
  112. $Lib vpklib
  113. $Lib vgui_controls [$WINDOWS||$OSXALL]
  114. }
  115. }