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.

160 lines
4.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // GCSDK.VPC
  3. //
  4. // Project Script for the Game Coordinator SDK
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR ".."
  7. $Macro GENERATED_PROTO_DIR "$SRCDIR\gcsdk\generated_proto"
  8. $include "$SRCDIR\vpc_scripts\source_lib_base.vpc"
  9. $include "$SRCDIR\vpc_scripts\protobuf_builder.vpc"
  10. $include "$SRCDIR\gcsdk\steammessages_include.vpc"
  11. $include "$SRCDIR\gcsdk\gcsdk_gcmessages_include.vpc"
  12. $Configuration
  13. {
  14. $Compiler
  15. {
  16. //$PreprocessorDefinitions "$BASE;STEAM"
  17. $AdditionalIncludeDirectories "$BASE;$SRCDIR\gcsdk\steamextra;..;..\public;..\public\gcsdk;$SRCDIR\thirdparty\JSON_parser;."
  18. $PreprocessorDefinitions "$BASE;TF" // Some steamextra files have tweaks unfortunately
  19. $Create/UsePrecompiledHeader "Use Precompiled Header (/Yu)"
  20. $AdditionalOptions "$BASE /YlGCSDK_PCH_Symbol"
  21. }
  22. }
  23. $Project "gcsdk"
  24. {
  25. $Folder "Source Files"
  26. {
  27. $File "stdafx.cpp"
  28. {
  29. $Configuration
  30. {
  31. $Compiler
  32. {
  33. $Create/UsePrecompiledHeader "Create Precompiled Header (/Yc)"
  34. // Generate a bogus symbol to fix the PCH "no debug symbols" warning
  35. //$AdditionalOptions "$BASE /YlBogusGCSDKSymbol"
  36. }
  37. }
  38. }
  39. // turn off the debug check for the debug build
  40. $File "$SRCDIR\common\debug_lib_check.cpp"
  41. {
  42. $Configuration "Debug"
  43. {
  44. $ExcludedFromBuild "Yes"
  45. }
  46. }
  47. $File "gcclient.cpp"
  48. $File "gcconstants.cpp"
  49. $File "gclogger.cpp"
  50. $File "gcmsg.cpp"
  51. $File "job.cpp"
  52. $File "jobmgr.cpp"
  53. $File "jobtime.cpp"
  54. $File "messagelist.cpp"
  55. $File "msgprotobuf.cpp"
  56. $File "netpacket.cpp"
  57. $File "netpacketpool.cpp"
  58. $File "protobufsharedobject.cpp"
  59. $File "sharedobject.cpp"
  60. $File "sharedobjectcache.cpp"
  61. $File "gcclient_sharedobjectcache.cpp"
  62. $File "steamextra\misc.cpp"
  63. $File "steamextra\rtime.cpp"
  64. $File "steamextra\steamid.cpp"
  65. {
  66. // Needs to #define something prior to including the PCH
  67. $Configuration
  68. {
  69. $Compiler
  70. {
  71. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  72. }
  73. }
  74. }
  75. $File "steamextra\tier1\hashglobals.cpp"
  76. $File "steamextra\tier1\tsmempool.cpp"
  77. $File "steamextra\tier1\tsmultimempool.cpp"
  78. $File "workthreadpool.cpp"
  79. $File "webapi_response.cpp"
  80. $File "$SRCDIR\thirdparty\JSON_parser\JSON_parser.c"
  81. {
  82. $Configuration
  83. {
  84. $Compiler
  85. {
  86. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  87. }
  88. }
  89. }
  90. }
  91. $Folder "Header Files"
  92. {
  93. $File "stdafx.h"
  94. $File "$SRCDIR\public\gcsdk\enumutils.h"
  95. $File "$SRCDIR\public\gcsdk\gcclient.h"
  96. $File "$SRCDIR\public\gcsdk\gcclientsdk.h"
  97. $File "$SRCDIR\public\gcsdk\gcconstants.h"
  98. $File "$SRCDIR\public\gcsdk\gclogger.h"
  99. $File "$SRCDIR\public\gcsdk\gcclientjob.h"
  100. $File "$SRCDIR\public\gcsdk\gcmsg.h"
  101. $File "$SRCDIR\public\gcsdk\gcsdk.h"
  102. $File "$SRCDIR\public\gcsdk\gcschema.h"
  103. $File "$SRCDIR\public\gcsdk\gcsession.h"
  104. $File "$SRCDIR\public\gcsdk\gcsystemmsgs.h"
  105. $File "$SRCDIR\public\gcsdk\job.h"
  106. $File "$SRCDIR\public\gcsdk\jobmgr.h"
  107. $File "$SRCDIR\public\gcsdk\jobtime.h"
  108. $File "$SRCDIR\public\gcsdk\messagelist.h"
  109. $File "$SRCDIR\public\gcsdk\msgbase.h"
  110. $File "$SRCDIR\public\gcsdk\netpacket.h"
  111. $File "$SRCDIR\public\gcsdk\msgprotobuf.h"
  112. $File "$SRCDIR\public\gcsdk\netpacketpool.h"
  113. $File "$SRCDIR\public\gcsdk\protobufsharedobject.h"
  114. $File "$SRCDIR\public\gcsdk\refcount.h"
  115. $File "$SRCDIR\public\gcsdk\sharedobject.h"
  116. $File "$SRCDIR\public\gcsdk\sharedobjectcache.h"
  117. $File "$SRCDIR\public\gcsdk\gcclient_sharedobjectcache.h"
  118. $File "$SRCDIR\public\gcsdk\workthreadpool.h"
  119. $File "steamextra\clientenums.h"
  120. $File "steamextra\misc.h"
  121. $File "steamextra\rtime.h"
  122. $File "steamextra\gamecoordinator\igamecoordinator.h"
  123. $File "steamextra\gamecoordinator\igamecoordinatorhost.h"
  124. $File "steamextra\gamecoordinator\igcsqlquery.h"
  125. $File "steamextra\gamecoordinator\igcsqlresultsetlist.h"
  126. $File "steamextra\steam\isteamgamecoordinator.h"
  127. $File "steamextra\tier0\t0constants.h"
  128. $File "steamextra\tier1\pearsonshash.h"
  129. $File "steamextra\tier1\tsmempool.h"
  130. $File "steamextra\tier1\tsmultimempool.h"
  131. }
  132. $Folder "Protobuf Files"
  133. {
  134. $File "gcsystemmsgs.proto"
  135. $Folder "Generated Files"
  136. {
  137. $DynamicFile "$GENERATED_PROTO_DIR/gcsystemmsgs.pb.h"
  138. $DynamicFile "$GENERATED_PROTO_DIR/gcsystemmsgs.pb.cc"
  139. {
  140. $Configuration
  141. {
  142. $Compiler
  143. {
  144. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  145. }
  146. }
  147. }
  148. }
  149. }
  150. }