CMakeLists.txt 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. cmake_minimum_required(VERSION 2.6)
  2. option( RAKNET_SAMPLE_AutopatcherClient "" True )
  3. #option( RAKNET_SAMPLE_AutopatcherClientGFx3_0 "" True )
  4. option( RAKNET_SAMPLE_AutopatcherClientRestarter "" True )
  5. option( RAKNET_SAMPLE_AutopatcherServer "" True )
  6. option( RAKNET_SAMPLE_AutoPatcherServer_MySQL "" True )
  7. option( RAKNET_SAMPLE_BigPacketTest "" True )
  8. option( RAKNET_SAMPLE_BurstTest "" True )
  9. option( RAKNET_SAMPLE_Chat_Example "" True )
  10. option( RAKNET_SAMPLE_CloudClient "" True )
  11. option( RAKNET_SAMPLE_CloudServer "" True )
  12. option( RAKNET_SAMPLE_CloudTest "" True )
  13. option( RAKNET_SAMPLE_CommandConsoleClient "" True )
  14. option( RAKNET_SAMPLE_CommandConsoleServer "" True )
  15. option( RAKNET_SAMPLE_ComprehensivePCGame "" True )
  16. option( RAKNET_SAMPLE_ComprehensiveTest "" True )
  17. #option( RAKNET_SAMPLE_CrashRelauncher "" True )
  18. option( RAKNET_SAMPLE_CrashReporter "" True )
  19. option( RAKNET_SAMPLE_CrossConnectionTest "" True )
  20. option( RAKNET_SAMPLE_DirectoryDeltaTransfer "" True )
  21. option( RAKNET_SAMPLE_Dropped_Connection_Test "" True )
  22. option( RAKNET_SAMPLE_Encryption "" True )
  23. option( RAKNET_SAMPLE_FCMHost "" True )
  24. option( RAKNET_SAMPLE_FCMHostSimultaneous "" True )
  25. option( RAKNET_SAMPLE_FCMVerifiedJoinSimultaneous "" True )
  26. option( RAKNET_SAMPLE_FileListTransfer "" True )
  27. option( RAKNET_SAMPLE_Flow_Control_Test "" True )
  28. option( RAKNET_SAMPLE_Fully_Connected_Mesh "" True )
  29. #option( RAKNET_SAMPLE_GFWL "" True )
  30. #option( RAKNET_SAMPLE_iOS "" True )
  31. option( RAKNET_SAMPLE_LANServerDiscovery "" True )
  32. option( RAKNET_SAMPLE_Lobby2Client "" True )
  33. #option( RAKNET_SAMPLE_Lobby2ClientGFx3_0 "" True )
  34. #option( RAKNET_SAMPLE_Lobby2Client_PS3 "" True )
  35. #option( RAKNET_SAMPLE_Lobby2Server_PGSQL "" True )
  36. #option( RAKNET_SAMPLE_LobbyDB_PostgreSQL "" True )
  37. #option( RAKNET_SAMPLE_LoopbackPerformanceTest "" True )
  38. #option( RAKNET_SAMPLE_Marmalade "" True )
  39. option( RAKNET_SAMPLE_MasterServer "" True )
  40. option( RAKNET_SAMPLE_MessageFilter "" True )
  41. option( RAKNET_SAMPLE_MessageSizeTest "" True )
  42. option( RAKNET_SAMPLE_NATCompleteClient "" True )
  43. option( RAKNET_SAMPLE_NATCompleteServer "" True )
  44. option( RAKNET_SAMPLE_OfflineMessagesTest "" True )
  45. option( RAKNET_SAMPLE_PacketLogger "" True )
  46. option( RAKNET_SAMPLE_PHPDirectoryServer2 "" True )
  47. option( RAKNET_SAMPLE_Ping "" True )
  48. #option( RAKNET_SAMPLE_PS3 "" True )
  49. option( RAKNET_SAMPLE_RackspaceConsole "" True )
  50. option( RAKNET_SAMPLE_RakVoice "" True )
  51. option( RAKNET_SAMPLE_RakVoiceDSound "" True )
  52. option( RAKNET_SAMPLE_RakVoiceFMOD "" True )
  53. #option( RAKNET_SAMPLE_RakVoiceFMODAsDLL "" True )
  54. #option( RAKNET_SAMPLE_RankingServerDB "" True )
  55. #option( RAKNET_SAMPLE_RankingServerDBTest "" True )
  56. #option( RAKNET_SAMPLE_ReadyEvent "" True )
  57. option( RAKNET_SAMPLE_Reliable_Ordered_Test "" True )
  58. option( RAKNET_SAMPLE_ReplicaManager3 "" True )
  59. #option( RAKNET_SAMPLE_Rooms "" True )
  60. #option( RAKNET_SAMPLE_RoomsBrowserGFx3 "" True )
  61. option( RAKNET_SAMPLE_Router2 "" True )
  62. option( RAKNET_SAMPLE_RPC3 "" True )
  63. option( RAKNET_SAMPLE_RPC4 "" True )
  64. option( RAKNET_SAMPLE_SendEmail "" True )
  65. option( RAKNET_SAMPLE_ServerClientTest2 "" True )
  66. option( RAKNET_SAMPLE_StatisticsHistoryTest "" True )
  67. #option( RAKNET_SAMPLE_SteamLobby "" True )
  68. option( RAKNET_SAMPLE_TeamManager "" True )
  69. option( RAKNET_SAMPLE_TestDLL "" True )
  70. option( RAKNET_SAMPLE_Tests "" True )
  71. option( RAKNET_SAMPLE_ThreadTest "" True )
  72. option( RAKNET_SAMPLE_Timestamping "" True )
  73. option( RAKNET_SAMPLE_TitleValidationDB_PostgreSQL "" True )
  74. option( RAKNET_SAMPLE_TwoWayAuthentication "" True )
  75. option( RAKNET_SAMPLE_UDPForwarder "" True )
  76. #option( RAKNET_SAMPLE_Vita "" True )
  77. #option( RAKNET_SAMPLE_XBOX360 "" True )
  78. if(RAKNET_SAMPLE_AutopatcherClient)
  79. add_subdirectory("AutopatcherClient")
  80. endif()
  81. if(RAKNET_SAMPLE_AutopatcherClientGFx3_0)
  82. #add_subdirectory("AutopatcherClientGFx3.0")
  83. endif()
  84. if(RAKNET_SAMPLE_AutopatcherClientRestarter)
  85. add_subdirectory("AutopatcherClientRestarter")
  86. endif()
  87. if(RAKNET_SAMPLE_AutopatcherServer)
  88. add_subdirectory("AutopatcherServer")
  89. endif()
  90. if(RAKNET_SAMPLE_AutoPatcherServer_MySQL)
  91. add_subdirectory("AutoPatcherServer_MySQL")
  92. endif()
  93. if(RAKNET_SAMPLE_BigPacketTest)
  94. add_subdirectory("BigPacketTest")
  95. endif()
  96. if(RAKNET_SAMPLE_BurstTest)
  97. add_subdirectory("BurstTest")
  98. endif()
  99. if(RAKNET_SAMPLE_Chat_Example)
  100. add_subdirectory("Chat Example")
  101. endif()
  102. if(RAKNET_SAMPLE_CloudClient)
  103. add_subdirectory("CloudClient")
  104. endif()
  105. if(RAKNET_SAMPLE_CloudServer)
  106. add_subdirectory("CloudServer")
  107. endif()
  108. if(RAKNET_SAMPLE_CloudTest)
  109. add_subdirectory("CloudTest")
  110. endif()
  111. if(RAKNET_SAMPLE_CommandConsoleClient)
  112. add_subdirectory("CommandConsoleClient")
  113. endif()
  114. if(RAKNET_SAMPLE_CommandConsoleServer)
  115. add_subdirectory("CommandConsoleServer")
  116. endif()
  117. if(RAKNET_SAMPLE_ComprehensivePCGame)
  118. add_subdirectory("ComprehensivePCGame")
  119. endif()
  120. if(RAKNET_SAMPLE_ComprehensiveTest)
  121. add_subdirectory("ComprehensiveTest")
  122. endif()
  123. if(RAKNET_SAMPLE_CrashRelauncher)
  124. #add_subdirectory("CrashRelauncher")
  125. endif()
  126. if(RAKNET_SAMPLE_CrashReporter)
  127. add_subdirectory("CrashReporter")
  128. endif()
  129. if(RAKNET_SAMPLE_CrossConnectionTest)
  130. add_subdirectory("CrossConnectionTest")
  131. endif()
  132. if(RAKNET_SAMPLE_DirectoryDeltaTransfer)
  133. add_subdirectory("DirectoryDeltaTransfer")
  134. endif()
  135. if(RAKNET_SAMPLE_Dropped_Connection_Test)
  136. add_subdirectory("Dropped Connection Test")
  137. endif()
  138. if(RAKNET_SAMPLE_Encryption)
  139. add_subdirectory("Encryption")
  140. endif()
  141. if(RAKNET_SAMPLE_FCMHost)
  142. add_subdirectory("FCMHost")
  143. endif()
  144. if(RAKNET_SAMPLE_FCMHostSimultaneous)
  145. add_subdirectory("FCMHostSimultaneous")
  146. endif()
  147. if(RAKNET_SAMPLE_FCMVerifiedJoinSimultaneous)
  148. add_subdirectory("FCMVerifiedJoinSimultaneous")
  149. endif()
  150. if(RAKNET_SAMPLE_FileListTransfer)
  151. add_subdirectory("FileListTransfer")
  152. endif()
  153. if(RAKNET_SAMPLE_Flow_Control_Test)
  154. add_subdirectory("Flow Control Test")
  155. endif()
  156. if(RAKNET_SAMPLE_Fully_Connected_Mesh)
  157. add_subdirectory("Fully Connected Mesh")
  158. endif()
  159. if(RAKNET_SAMPLE_GFWL)
  160. #add_subdirectory("GFWL")
  161. endif()
  162. if(RAKNET_SAMPLE_iOS)
  163. #add_subdirectory("iOS")
  164. endif()
  165. if(RAKNET_SAMPLE_LANServerDiscovery)
  166. add_subdirectory("LANServerDiscovery")
  167. endif()
  168. if(RAKNET_SAMPLE_Lobby2Client)
  169. add_subdirectory("Lobby2Client")
  170. endif()
  171. if(RAKNET_SAMPLE_Lobby2ClientGFx3_0)
  172. #add_subdirectory("Lobby2ClientGFx3.0")
  173. endif()
  174. if(RAKNET_SAMPLE_Lobby2Client_PS3)
  175. #add_subdirectory("Lobby2Client_PS3")
  176. endif()
  177. if(RAKNET_SAMPLE_Lobby2Server_PGSQL)
  178. #add_subdirectory("Lobby2Server_PGSQL")
  179. endif()
  180. if(RAKNET_SAMPLE_LobbyDB_PostgreSQL)
  181. #add_subdirectory("LobbyDB_PostgreSQL")
  182. endif()
  183. if(RAKNET_SAMPLE_LoopbackPerformanceTest)
  184. #add_subdirectory("LoopbackPerformanceTest")
  185. endif()
  186. if(RAKNET_SAMPLE_Marmalade)
  187. #add_subdirectory("Marmalade")
  188. endif()
  189. if(RAKNET_SAMPLE_MasterServer)
  190. add_subdirectory("MasterServer")
  191. endif()
  192. if(RAKNET_SAMPLE_MessageFilter)
  193. add_subdirectory("MessageFilter")
  194. endif()
  195. if(RAKNET_SAMPLE_MessageSizeTest)
  196. add_subdirectory("MessageSizeTest")
  197. endif()
  198. if(RAKNET_SAMPLE_NATCompleteClient)
  199. add_subdirectory("NATCompleteClient")
  200. endif()
  201. if(RAKNET_SAMPLE_NATCompleteServer)
  202. add_subdirectory("NATCompleteServer")
  203. endif()
  204. if(RAKNET_SAMPLE_OfflineMessagesTest)
  205. add_subdirectory("OfflineMessagesTest")
  206. endif()
  207. if(RAKNET_SAMPLE_PacketLogger)
  208. add_subdirectory("PacketLogger")
  209. endif()
  210. if(RAKNET_SAMPLE_PHPDirectoryServer2)
  211. add_subdirectory("PHPDirectoryServer2")
  212. endif()
  213. if(RAKNET_SAMPLE_Ping)
  214. add_subdirectory("Ping")
  215. endif()
  216. if(RAKNET_SAMPLE_PS3)
  217. #add_subdirectory("PS3")
  218. endif()
  219. if(RAKNET_SAMPLE_RackspaceConsole)
  220. add_subdirectory("RackspaceConsole")
  221. endif()
  222. if(RAKNET_SAMPLE_RakVoice)
  223. add_subdirectory("RakVoice")
  224. endif()
  225. if(RAKNET_SAMPLE_RakVoiceDSound)
  226. add_subdirectory("RakVoiceDSound")
  227. endif()
  228. if(RAKNET_SAMPLE_RakVoiceFMOD)
  229. add_subdirectory("RakVoiceFMOD")
  230. endif()
  231. if(RAKNET_SAMPLE_RakVoiceFMODAsDLL)
  232. #add_subdirectory("RakVoiceFMODAsDLL")
  233. endif()
  234. if(RAKNET_SAMPLE_RankingServerDB)
  235. #add_subdirectory("RankingServerDB")
  236. endif()
  237. if(RAKNET_SAMPLE_RankingServerDBTest)
  238. #add_subdirectory("RankingServerDBTest")
  239. endif()
  240. if(RAKNET_SAMPLE_ReadyEvent)
  241. #add_subdirectory("ReadyEvent")
  242. endif()
  243. if(RAKNET_SAMPLE_Reliable_Ordered_Test)
  244. add_subdirectory("Reliable Ordered Test")
  245. endif()
  246. if(RAKNET_SAMPLE_ReplicaManager3)
  247. add_subdirectory("ReplicaManager3")
  248. endif()
  249. if(RAKNET_SAMPLE_Rooms)
  250. #add_subdirectory("Rooms")
  251. endif()
  252. if(RAKNET_SAMPLE_RoomsBrowserGFx3)
  253. #add_subdirectory("RoomsBrowserGFx3")
  254. endif()
  255. if(RAKNET_SAMPLE_Router2)
  256. add_subdirectory("Router2")
  257. endif()
  258. if(RAKNET_SAMPLE_RPC3)
  259. add_subdirectory("RPC3")
  260. endif()
  261. if(RAKNET_SAMPLE_RPC4)
  262. add_subdirectory("RPC4")
  263. endif()
  264. if(RAKNET_SAMPLE_SendEmail)
  265. add_subdirectory("SendEmail")
  266. endif()
  267. if(RAKNET_SAMPLE_ServerClientTest2)
  268. add_subdirectory("ServerClientTest2")
  269. endif()
  270. if(RAKNET_SAMPLE_StatisticsHistoryTest)
  271. add_subdirectory("StatisticsHistoryTest")
  272. endif()
  273. if(RAKNET_SAMPLE_SteamLobby)
  274. #add_subdirectory("SteamLobby")
  275. endif()
  276. if(RAKNET_SAMPLE_TeamManager)
  277. add_subdirectory("TeamManager")
  278. endif()
  279. if(RAKNET_SAMPLE_TestDLL)
  280. add_subdirectory("TestDLL")
  281. endif()
  282. if(RAKNET_SAMPLE_Tests)
  283. add_subdirectory("Tests")
  284. endif()
  285. if(RAKNET_SAMPLE_ThreadTest)
  286. add_subdirectory("ThreadTest")
  287. endif()
  288. if(RAKNET_SAMPLE_Timestamping)
  289. add_subdirectory("Timestamping")
  290. endif()
  291. if(RAKNET_SAMPLE_TitleValidationDB_PostgreSQL)
  292. add_subdirectory("TitleValidationDB_PostgreSQL")
  293. endif()
  294. if(RAKNET_SAMPLE_TwoWayAuthentication)
  295. add_subdirectory("TwoWayAuthentication")
  296. endif()
  297. if(RAKNET_SAMPLE_UDPForwarder)
  298. add_subdirectory("UDPForwarder")
  299. endif()
  300. if(RAKNET_SAMPLE_Vita)
  301. #add_subdirectory("Vita")
  302. endif()
  303. if(RAKNET_SAMPLE_XBOX360)
  304. #add_subdirectory("XBOX360")
  305. endif()
粤ICP备19079148号