Team Fortress 2 Source Code as on 22/4/2020
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.

149 lines
3.9 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. $include "$SRCDIR\vpc_scripts\source_cryptlib_include.vpc"
  10. $Configuration
  11. {
  12. $Compiler
  13. {
  14. $AdditionalIncludeDirectories "$BASE,.\,$SRCDIR\engine"
  15. $PreprocessorDefinitions "$BASE;DEDICATED;LAUNCHERONLY;SUPPORT_PACKED_STORE"
  16. }
  17. $Linker
  18. {
  19. $AdditionalDependencies "$BASE wsock32.lib odbc32.lib odbccp32.lib winmm.lib"
  20. $SystemLibraries "iconv;edit;curses" [$OSXALL]
  21. $SystemFrameworks "AppKit" [$OSXALL]
  22. }
  23. }
  24. $Project "Dedicated"
  25. {
  26. $Folder "Source Files"
  27. {
  28. $File "dedicated.rc"
  29. $File "sys_linux.cpp"
  30. {
  31. $Configuration
  32. {
  33. $ExcludedFromBuild "Yes"
  34. }
  35. }
  36. $File "filesystem.cpp"
  37. $File "$SRCDIR\public\filesystem_init.cpp"
  38. $File "$SRCDIR\common\netapi.cpp"
  39. $File "$SRCDIR\common\SteamAppStartup.cpp"
  40. $File "sys_common.cpp"
  41. $File "sys_ded.cpp"
  42. $File "sys_windows.cpp" [$WINDOWS]
  43. $File "sys_linux.cpp" [$POSIX]
  44. {
  45. $Configuration
  46. {
  47. $Compiler
  48. {
  49. $AdditionalOptions "/EHa"
  50. $EnableC++Exceptions "Yes (/EHsc)"
  51. }
  52. }
  53. }
  54. $Folder "Console"
  55. {
  56. $File "console\conproc.cpp"
  57. $File "console\textconsole.cpp"
  58. $File "console\TextConsoleUnix.cpp" [$POSIX]
  59. $File "console\TextConsoleWin32.cpp" [$WINDOWS]
  60. }
  61. $Folder "VGUI" [$WINDOWS]
  62. {
  63. $File "vgui\CreateMultiplayerGameServerPage.cpp"
  64. $File "vgui\MainPanel.cpp"
  65. $File "$SRCDIR\public\vgui_controls\vgui_controls.cpp"
  66. $File "vgui\vguihelpers.cpp"
  67. }
  68. $Folder "FileSystem"
  69. {
  70. $File "$SRCDIR\filesystem\filetracker.cpp"
  71. $File "$SRCDIR\filesystem\basefilesystem.cpp"
  72. $File "$SRCDIR\filesystem\packfile.cpp"
  73. $File "$SRCDIR\filesystem\filesystem_async.cpp"
  74. $File "$SRCDIR\filesystem\filesystem_stdio.cpp"
  75. $File "$SRCDIR\filesystem\QueuedLoader.cpp"
  76. $File "$SRCDIR\public\zip_utils.cpp"
  77. $File "$SRCDIR\filesystem\linux_support.cpp" [$POSIX]
  78. }
  79. }
  80. $Folder "Header Files"
  81. {
  82. $File "$SRCDIR\filesystem\filetracker.h"
  83. $File "$SRCDIR\filesystem\threadsaferefcountedobject.h"
  84. $File "$SRCDIR\public\ifilelist.h"
  85. $File "$SRCDIR\public\tier0\basetypes.h"
  86. $File "$SRCDIR\public\tier0\commonmacros.h"
  87. $File "$SRCDIR\public\tier0\dbg.h"
  88. $File "dedicated.h"
  89. $File "$SRCDIR\public\engine_hlds_api.h"
  90. $File "$SRCDIR\public\tier0\fasttimer.h"
  91. $File "$SRCDIR\public\filesystem.h"
  92. $File "$SRCDIR\common\IAdminServer.h"
  93. $File "$SRCDIR\public\appframework\IAppSystem.h"
  94. $File "$SRCDIR\public\tier0\icommandline.h"
  95. $File "$SRCDIR\public\idedicatedexports.h"
  96. $File "$SRCDIR\common\IManageServer.h"
  97. $File "$SRCDIR\public\tier1\interface.h"
  98. $File "isys.h"
  99. $File "$SRCDIR\public\mathlib\mathlib.h"
  100. $File "$SRCDIR\common\netapi.h"
  101. $File "$SRCDIR\common\GameUI\ObjectList.h"
  102. $File "$SRCDIR\public\tier0\platform.h"
  103. $File "$SRCDIR\public\tier0\protected_things.h"
  104. $File "$SRCDIR\common\SteamAppStartup.h"
  105. $File "$SRCDIR\public\string_t.h"
  106. $File "$SRCDIR\public\tier1\strtools.h"
  107. $File "$SRCDIR\public\tier0\vcr_shared.h"
  108. $File "$SRCDIR\public\tier0\vcrmode.h"
  109. $File "$SRCDIR\public\mathlib\vector.h"
  110. $File "$SRCDIR\public\mathlib\vector2d.h"
  111. $File "$SRCDIR\public\vstdlib\vstdlib.h"
  112. $Folder "Console Headers"
  113. {
  114. $File "console\conproc.h"
  115. $File "$SRCDIR\common\IObjectContainer.h"
  116. $File "console\textconsole.h"
  117. $File "console\TextConsoleWin32.h"
  118. }
  119. $Folder "VGUI Headers"
  120. {
  121. $File "vgui\CreateMultiplayerGameServerPage.h"
  122. $File "vgui\MainPanel.h"
  123. $File "vgui\vguihelpers.h"
  124. }
  125. }
  126. $Folder "Link Libraries"
  127. {
  128. $Lib appframework
  129. $Lib mathlib
  130. $Lib tier2
  131. $Lib tier3
  132. $Lib vgui_controls [$WIN32]
  133. $LibExternal "$SRCDIR/thirdparty/libedit-3.1/src/.libs/libedit" [$LINUXALL]
  134. $ImpLibExternal steam_api
  135. $ImpLib SDL2 [$SDL]
  136. }
  137. }