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.

360 lines
15 KiB

  1. //-----------------------------------------------------------------------------
  2. // SERVER_CSTRIKE15_INC.VPC
  3. //
  4. // Project Script
  5. // Main body for building server DLLs for CS:GO
  6. //-----------------------------------------------------------------------------
  7. $MacroRequired "OUTBINNAME"
  8. $MacroRequired "SPROJ"
  9. $MacroRequired "SRVSRCDIR"
  10. $Macro SRCDIR "..\.."
  11. $Macro GAMENAME "csgo"
  12. $Include "$SRCDIR\game\server\server_base.vpc"
  13. $Include "$SRCDIR\game\server\server_econ_base.vpc" [!$PS3 && !$X360]
  14. $include "$SRCDIR\game\shared\cstrike15\cstrike15_usermessages_include.vpc"
  15. $Include "$SRCDIR\game\shared\cstrike15\cstrike15_gcmessages_include.vpc" [!$PS3 && !$X360]
  16. $include "$SRCDIR\external\external.vpc"
  17. $include "$SRCDIR\external\$EXTERNALCRYPTOPP\external_cryptopp.vpc"
  18. $Configuration
  19. {
  20. $Compiler
  21. {
  22. $AdditionalIncludeDirectories "$BASE;$SRCDIR\game\shared\cstrike15\control,$SRCDIR\game\shared\cstrike15,$SRVSRCDIR,$SRVSRCDIR\cstrike15"
  23. $AdditionalIncludeDirectories "$BASE;$SRVSRCDIR\cstrike15\bot,$SRVSRCDIR\cstrike15\bot\states,$SRCDIR\game\shared\cstrike15\bot,$SRVSRCDIR\cstrike15\hostage,$SRVSRCDIR\cstrike15\control"
  24. $PreprocessorDefinitions "$BASE;BOTS;CSTRIKE_DLL;USE_ECONOMY_FEATURES"
  25. $PreprocessorDefinitions "$BASE;VALVE_DEDICATED_SERVER" [$VALVE_DATACENTER]
  26. }
  27. $Linker
  28. {
  29. $AdditionalDependencies "$BASE ws2_32.lib" [$WINDOWS]
  30. }
  31. }
  32. $Project $SPROJ
  33. {
  34. $Folder "Source Files"
  35. {
  36. // -$File "$SRVSRCDIR\AI_ConCommands.cpp"
  37. $File "$SRVSRCDIR\hl2\Func_Monitor.cpp"
  38. $File "$SRVSRCDIR\h_cycler.cpp"
  39. $File "$SRVSRCDIR\h_cycler.h"
  40. $File "$SRCDIR\game\shared\predicted_viewmodel.cpp"
  41. $File "$SRCDIR\game\shared\predicted_viewmodel.h"
  42. $File "$SRVSRCDIR\team_objectiveresource.cpp"
  43. $File "$SRVSRCDIR\team_objectiveresource.h"
  44. $File "$SRVSRCDIR\team_spawnpoint.cpp"
  45. $File "$SRVSRCDIR\team_spawnpoint.h"
  46. $File "$SRVSRCDIR\server_log_http_dispatcher.cpp"
  47. $File "$SRVSRCDIR\server_log_http_dispatcher.h"
  48. $File "$SRCDIR\game\shared\teamplayroundbased_gamerules.cpp"
  49. $File "$SRCDIR\game\shared\teamplayroundbased_gamerules.h"
  50. $File "$SRCDIR\game\shared\cstrike15\dlchelper.h"
  51. $Folder "Economy" [!$X360 && !$PS3]
  52. {
  53. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_inventory.cpp"
  54. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_inventory.h"
  55. //$File "$SRCDIR\game\shared\econ\econ_claimcode.cpp"
  56. //$File "$SRCDIR\game\shared\econ\econ_claimcode.h"
  57. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_system.cpp"
  58. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_system.h"
  59. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_schema.cpp"
  60. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_schema.h"
  61. $File "$SRCDIR\game\shared\cstrike15\cstrike15_item_constants.h"
  62. $File "$SRCDIR\game\shared\cstrike15\cstrike15_gcconstants.h"
  63. $File "$SRCDIR/game/shared/cstrike15/cs_econ_item_string_table.cpp"
  64. $File "$SRCDIR/game/shared/cstrike15/cs_econ_item_string_table.h"
  65. }
  66. $Folder "CounterStrike DLL"
  67. {
  68. $File "$SRCDIR\game\shared\cstrike15\cs_achievement_constants.h"
  69. $File "$SRCDIR\game\shared\cstrike15\achievements_cs.cpp"
  70. $File "$SRCDIR\game\shared\cstrike15\achievements_cs.h"
  71. $File "$SRCDIR\game\shared\cstrike15\basecsgrenade_projectile.cpp"
  72. $File "$SRCDIR\game\shared\cstrike15\basecsgrenade_projectile.h"
  73. $File "$SRCDIR\game\shared\cstrike15\cs_ammodef.cpp"
  74. $File "$SRCDIR\game\shared\cstrike15\cs_ammodef.h"
  75. $File "$SRVSRCDIR\cstrike15\cs_autobuy.cpp"
  76. $File "$SRVSRCDIR\cstrike15\cs_autobuy.h"
  77. $File "$SRVSRCDIR\cstrike15\cs_client.cpp"
  78. $File "$SRVSRCDIR\cstrike15\cs_client.h"
  79. $File "$SRVSRCDIR\cstrike15\cs_entity_spotting.cpp"
  80. $File "$SRVSRCDIR\cstrike15\cs_entity_spotting.h"
  81. $File "$SRVSRCDIR\cstrike15\cs_eventlog.cpp"
  82. $File "$SRVSRCDIR\cstrike15\cs_gameinterface.cpp"
  83. $File "$SRCDIR\game\shared\cstrike15\cs_gamemovement.cpp"
  84. $File "$SRCDIR\game\shared\cstrike15\cs_gamerules.cpp"
  85. $File "$SRCDIR\game\shared\cstrike15\cs_gamerules.h"
  86. $File "$SRVSRCDIR\cstrike15\cs_gamestats.cpp"
  87. $File "$SRVSRCDIR\cstrike15\cs_gamestats.h"
  88. $File "$SRCDIR\game\shared\cstrike15\cs_gamestats_shared.cpp"
  89. $File "$SRCDIR\game\shared\cstrike15\cs_gamestats_shared.h"
  90. $File "$SRVSRCDIR\steamworks_gamestats_server.cpp"
  91. $File "$SRVSRCDIR\steamworks_gamestats_server.h"
  92. $File "$SRVSRCDIR\cstrike15\cs_hltvdirector.cpp"
  93. $File "$SRVSRCDIR\cstrike15\cs_player.cpp"
  94. $File "$SRVSRCDIR\cstrike15\cs_player.h"
  95. $File "$SRVSRCDIR\cstrike15\cs_player_resource.cpp"
  96. $File "$SRVSRCDIR\cstrike15\cs_player_resource.h"
  97. $File "$SRCDIR\game\shared\cstrike15\cs_player_shared.cpp"
  98. $File "$SRCDIR\game\shared\cstrike15\cs_playeranimstate.cpp"
  99. $File "$SRCDIR\game\shared\cstrike15\cs_playeranimstate.h"
  100. $File "$SRCDIR\game\shared\cstrike15\csgo_playeranimstate.cpp"
  101. $File "$SRCDIR\game\shared\cstrike15\csgo_playeranimstate.h"
  102. $File "$SRVSRCDIR\cstrike15\cs_playermove.cpp"
  103. $File "$SRVSRCDIR\cstrike15\cs_pushentity.cpp"
  104. $File "$SRVSRCDIR\dedicated_server_ugc_manager.cpp" [!$X360 && !$PS3]
  105. $File "$SRVSRCDIR\dedicated_server_ugc_manager.h" [!$X360 && !$PS3]
  106. $File "$SRCDIR\game\shared\cstrike15\cs_shareddefs.cpp"
  107. $File "$SRCDIR\game\shared\cstrike15\cs_shareddefs.h"
  108. $File "$SRVSRCDIR\cstrike15\cs_team.cpp"
  109. $File "$SRVSRCDIR\cstrike15\cs_team.h"
  110. $File "$SRVSRCDIR\cstrike15\cs_vehicle_jeep.cpp"
  111. $File "$SRCDIR\game\shared\cstrike15\cs_weapon_parse.cpp"
  112. $File "$SRCDIR\game\shared\cstrike15\cs_weapon_parse.h"
  113. $File "$SRCDIR\game\shared\cstrike15\flashbang_projectile.cpp"
  114. $File "$SRCDIR\game\shared\cstrike15\flashbang_projectile.h"
  115. $File "$SRVSRCDIR\cstrike15\func_bomb_target.cpp"
  116. $File "$SRVSRCDIR\cstrike15\func_bomb_target.h"
  117. $File "$SRVSRCDIR\cstrike15\func_buy_zone.cpp"
  118. $File "$SRVSRCDIR\cstrike15\func_hostage_rescue.cpp"
  119. $File "$SRVSRCDIR\cstrike15\func_hostage_rescue.h"
  120. $File "$SRVSRCDIR\cstrike15\func_no_defuse.cpp"
  121. $File "$SRVSRCDIR\cstrike15\func_no_defuse.h"
  122. $File "$SRVSRCDIR\cstrike15\funfact_cs.cpp"
  123. $File "$SRVSRCDIR\cstrike15\funfact_cs.h"
  124. $File "$SRVSRCDIR\cstrike15\funfactmgr_cs.cpp"
  125. $File "$SRVSRCDIR\cstrike15\funfactmgr_cs.h"
  126. $File "$SRCDIR\game\shared\cstrike15\fx_cs_shared.cpp"
  127. $File "$SRCDIR\game\shared\cstrike15\fx_cs_shared.h"
  128. $File "$SRCDIR\game\shared\cstrike15\hegrenade_projectile.cpp"
  129. $File "$SRCDIR\game\shared\cstrike15\hegrenade_projectile.h"
  130. $File "$SRVSRCDIR\cstrike15\info_view_parameters.cpp"
  131. $File "$SRVSRCDIR\cstrike15\item_ammo.cpp"
  132. $File "$SRVSRCDIR\cstrike15\item_assaultsuit.cpp"
  133. $File "$SRVSRCDIR\cstrike15\item_defuser.cpp"
  134. $File "$SRVSRCDIR\cstrike15\item_kevlar.cpp"
  135. $File "$SRVSRCDIR\cstrike15\item_nvgs.cpp"
  136. $File "$SRVSRCDIR\cstrike15\mapinfo.cpp"
  137. $File "$SRVSRCDIR\cstrike15\mapinfo.h"
  138. $File "$SRVSRCDIR\cstrike15\point_hiding_spot.cpp"
  139. $File "$SRVSRCDIR\cstrike15\point_hiding_spot.h"
  140. $File "$SRVSRCDIR\cstrike15\point_surroundtest.cpp"
  141. $File "$SRCDIR\game\shared\cstrike15\smokegrenade_projectile.cpp"
  142. $File "$SRCDIR\game\shared\cstrike15\smokegrenade_projectile.h"
  143. $File "$SRVSRCDIR\cstrike15\te_radioicon.cpp"
  144. $File "$SRVSRCDIR\cstrike15\te_shotgun_shot.cpp"
  145. $File "$SRVSRCDIR\cstrike15\te_shotgun_shot.h"
  146. $File "$SRCDIR\game\shared\cstrike15\player_pickup.h"
  147. $File "$SRCDIR\game\shared\cstrike15\player_pickup.cpp"
  148. $File "$SRCDIR\game\shared\cstrike15\cs_player_rank_shared.h"
  149. //$File "$SRCDIR\game\shared\ugc_workshop_manager.cpp"
  150. //$File "$SRCDIR\game\shared\ugc_workshop_manager.h"
  151. $File "$SRCDIR\game\shared\cstrike15\molotov_projectile.cpp"
  152. $File "$SRCDIR\game\shared\cstrike15\molotov_projectile.h"
  153. $File "$SRCDIR\game\shared\cstrike15\decoy_projectile.cpp"
  154. $File "$SRCDIR\game\shared\cstrike15\decoy_projectile.h"
  155. $File "$SRCDIR\game\shared\cstrike15\viewmodel_arm_config.inc"
  156. $File "$SRCDIR\game\shared\cstrike15\sensorgrenade_projectile.cpp"
  157. $File "$SRCDIR\game\shared\cstrike15\sensorgrenade_projectile.h"
  158. $File "$SRVSRCDIR\cstrike15\cs_voteissues.h"
  159. $File "$SRVSRCDIR\cstrike15\cs_voteissues.cpp"
  160. $File "$SRCDIR\public\gametypes\igametypes.h"
  161. $File "$SRCDIR\game\shared\cstrike15\gametypes.h"
  162. $File "$SRCDIR\game\shared\cstrike15\gametypes.cpp"
  163. {
  164. $Configuration
  165. {
  166. $Compiler
  167. {
  168. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  169. }
  170. }
  171. }
  172. $File "$SRCDIR\public\zip\XUnzip.h"
  173. $File "$SRCDIR\public\zip\XZip.h"
  174. $File "$SRCDIR\public\XZip.cpp" \
  175. "$SRCDIR\public\XUnzip.cpp"
  176. {
  177. $Configuration
  178. {
  179. $Compiler
  180. {
  181. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  182. }
  183. }
  184. }
  185. $Folder "Weapon"
  186. {
  187. $File "$SRCDIR\game\shared\cstrike15\weapon_basecsgrenade.cpp"
  188. $File "$SRCDIR\game\shared\cstrike15\weapon_basecsgrenade.h"
  189. $File "$SRCDIR\game\shared\cstrike15\weapon_c4.cpp"
  190. $File "$SRCDIR\game\shared\cstrike15\weapon_c4.h"
  191. $File "$SRCDIR\game\shared\cstrike15\weapon_csbase.cpp"
  192. $File "$SRCDIR\game\shared\cstrike15\weapon_csbase.h"
  193. $File "$SRCDIR\game\shared\cstrike15\weapon_csbasegun.cpp"
  194. $File "$SRCDIR\game\shared\cstrike15\weapon_csbasegun.h"
  195. $File "$SRCDIR\game\shared\cstrike15\weapon_deagle.cpp"
  196. $File "$SRCDIR\game\shared\cstrike15\weapon_elite.cpp"
  197. $File "$SRCDIR\game\shared\cstrike15\weapon_flashbang.cpp"
  198. $File "$SRCDIR\game\shared\cstrike15\weapon_flashbang.h"
  199. $File "$SRCDIR\game\shared\cstrike15\weapon_hegrenade.cpp"
  200. $File "$SRCDIR\game\shared\cstrike15\weapon_ironsightcontroller.cpp"
  201. $File "$SRCDIR\game\shared\cstrike15\weapon_ironsightcontroller.h"
  202. $File "$SRCDIR\game\shared\cstrike15\weapon_knife.cpp"
  203. $File "$SRCDIR\game\shared\cstrike15\weapon_knife.h"
  204. $File "$SRCDIR\game\shared\cstrike15\weapon_m3.cpp"
  205. $File "$SRCDIR\game\shared\cstrike15\weapon_sg552.cpp"
  206. $File "$SRCDIR\game\shared\cstrike15\weapon_smokegrenade.cpp"
  207. $File "$SRCDIR\game\shared\cstrike15\weapon_smokegrenade.h"
  208. $File "$SRCDIR\game\shared\cstrike15\weapon_xm1014.cpp"
  209. $File "$SRCDIR\game\shared\cstrike15\weapon_sawedoff.cpp"
  210. $File "$SRCDIR\game\shared\cstrike15\weapon_taser.cpp"
  211. $File "$SRCDIR\game\shared\cstrike15\weapon_molotov.h"
  212. $File "$SRCDIR\game\shared\cstrike15\weapon_molotov.cpp"
  213. $File "$SRCDIR\game\shared\cstrike15\weapon_decoy.h"
  214. $File "$SRCDIR\game\shared\cstrike15\weapon_decoy.cpp"
  215. $File "$SRCDIR\game\shared\cstrike15\weapon_sensorgrenade.h"
  216. $File "$SRCDIR\game\shared\cstrike15\weapon_sensorgrenade.cpp"
  217. $File "$SRCDIR\game\shared\cstrike15\weapon_nova.cpp"
  218. $File "$SRCDIR\game\shared\cstrike15\weapon_baseitem.cpp"
  219. $File "$SRCDIR\game\shared\cstrike15\weapon_baseitem.h"
  220. $File "$SRCDIR\game\shared\cstrike15\item_healthshot.cpp"
  221. $File "$SRCDIR\game\shared\cstrike15\item_healthshot.h"
  222. }
  223. $Folder "Effects"
  224. {
  225. $File "$SRVSRCDIR\cstrike15\Effects\inferno.cpp"
  226. $File "$SRVSRCDIR\cstrike15\Effects\inferno.h"
  227. $File "$SRVSRCDIR\cstrike15\Effects\chicken.cpp"
  228. $File "$SRVSRCDIR\cstrike15\Effects\chicken.h"
  229. $Folder "Shared"
  230. {
  231. $File "$SRCDIR\game\shared\cstrike15\infernoshared.cpp"
  232. $File "$SRCDIR\game\shared\entityutil.h"
  233. }
  234. }
  235. $Folder "Bot"
  236. {
  237. $File "$SRVSRCDIR\cstrike15\bot\cs_bot.cpp"
  238. $File "$SRVSRCDIR\cstrike15\bot\cs_bot.h"
  239. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_chatter.cpp"
  240. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_chatter_coop.cpp"
  241. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_chatter.h"
  242. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_event.cpp"
  243. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_event_bomb.cpp"
  244. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_event_player.cpp"
  245. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_event_weapon.cpp"
  246. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_init.cpp"
  247. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_listen.cpp"
  248. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_manager.cpp"
  249. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_manager.h"
  250. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_nav.cpp"
  251. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_pathfind.cpp"
  252. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_radio.cpp"
  253. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_statemachine.cpp"
  254. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_update.cpp"
  255. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_vision.cpp"
  256. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_weapon.cpp"
  257. $File "$SRVSRCDIR\cstrike15\bot\cs_bot_weapon_id.cpp"
  258. $File "$SRVSRCDIR\cstrike15\bot\cs_gamestate.cpp"
  259. $File "$SRVSRCDIR\cstrike15\bot\cs_gamestate.h"
  260. $Folder "States"
  261. {
  262. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_attack.cpp"
  263. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_buy.cpp"
  264. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_defuse_bomb.cpp"
  265. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_pickup_hostage.cpp"
  266. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_escape_from_bomb.cpp"
  267. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_fetch_bomb.cpp"
  268. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_follow.cpp"
  269. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_hide.cpp"
  270. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_hunt.cpp"
  271. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_idle.cpp"
  272. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_idle_coop.cpp"
  273. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_investigate_noise.cpp"
  274. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_move_to.cpp"
  275. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_open_door.cpp"
  276. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_plant_bomb.cpp"
  277. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_use_entity.cpp"
  278. $File "$SRVSRCDIR\cstrike15\bot\states\cs_bot_escape_from_flames.cpp"
  279. }
  280. $Folder "Shared"
  281. {
  282. $File "$SRCDIR\game\shared\cstrike15\bot\bot.cpp"
  283. $File "$SRCDIR\game\shared\cstrike15\bot\bot.h"
  284. $File "$SRCDIR\game\shared\cstrike15\bot\bot_constants.h"
  285. $File "$SRCDIR\game\shared\cstrike15\bot\bot_hide.cpp"
  286. $File "$SRCDIR\game\shared\cstrike15\bot\bot_manager.cpp"
  287. $File "$SRCDIR\game\shared\cstrike15\bot\bot_manager.h"
  288. $File "$SRCDIR\game\shared\cstrike15\bot\bot_profile.cpp"
  289. $File "$SRCDIR\game\shared\cstrike15\bot\bot_profile.h"
  290. $File "$SRCDIR\game\shared\cstrike15\bot\bot_util.cpp"
  291. $File "$SRCDIR\game\shared\cstrike15\bot\bot_util.h"
  292. $File "$SRCDIR\common\platforminputdevice.h"
  293. $File "$SRCDIR\common\platforminputdevice.cpp"
  294. {
  295. $Configuration
  296. {
  297. $Compiler
  298. {
  299. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  300. }
  301. }
  302. }
  303. $File "$SRCDIR\game\shared\cstrike15\bot\shared_util.cpp"
  304. $File "$SRCDIR\game\shared\cstrike15\bot\shared_util.h"
  305. }
  306. }
  307. $Folder "Hostage"
  308. {
  309. $File "$SRVSRCDIR\cstrike15\hostage\cs_simple_hostage.cpp"
  310. $File "$SRVSRCDIR\cstrike15\hostage\cs_simple_hostage.h"
  311. }
  312. $Folder "Navigation Mesh"
  313. {
  314. $File "$SRVSRCDIR\cstrike15\cs_nav.h"
  315. $File "$SRVSRCDIR\cstrike15\cs_nav_area.cpp"
  316. $File "$SRVSRCDIR\cstrike15\cs_nav_area.h"
  317. $File "$SRVSRCDIR\cstrike15\cs_nav_generate.cpp"
  318. $File "$SRVSRCDIR\cstrike15\cs_nav_mesh.cpp"
  319. $File "$SRVSRCDIR\cstrike15\cs_nav_mesh.h"
  320. $File "$SRVSRCDIR\cstrike15\cs_nav_pathfind.h"
  321. $File "$SRVSRCDIR\cstrike15\cs_nav_path.cpp"
  322. $File "$SRVSRCDIR\cstrike15\cs_nav_path.h"
  323. }
  324. }
  325. }
  326. }