Rev | Line | |
---|
[341] | 1 | PROJECT(Orxonox) |
---|
| 2 | |
---|
[441] | 3 | SET( CHATCLIENT_SRC_FILES |
---|
[448] | 4 | ClientConnection.cc |
---|
| 5 | Client.cc |
---|
| 6 | PacketBuffer.cc |
---|
| 7 | PacketDecoder.cc |
---|
| 8 | PacketGenerator.cc |
---|
[441] | 9 | dummyclient3.cc |
---|
| 10 | ) |
---|
[538] | 11 | |
---|
[441] | 12 | SET( CHATSERVER_SRC_FILES |
---|
[448] | 13 | ConnectionManager.cc |
---|
| 14 | GameStateManager.cc |
---|
| 15 | PacketBuffer.cc |
---|
| 16 | PacketDecoder.cc |
---|
| 17 | PacketGenerator.cc |
---|
[441] | 18 | dummyserver3.cc |
---|
| 19 | ) |
---|
| 20 | |
---|
[341] | 21 | SET( NETWORK_SRC_FILES |
---|
[376] | 22 | Client.cc |
---|
| 23 | ClientConnection.cc |
---|
[431] | 24 | ClientInformation.cc |
---|
[376] | 25 | ConnectionManager.cc |
---|
[431] | 26 | GameStateManager.cc |
---|
[415] | 27 | GameStateClient.cc |
---|
[376] | 28 | PacketBuffer.cc |
---|
| 29 | PacketDecoder.cc |
---|
| 30 | PacketGenerator.cc |
---|
| 31 | Server.cc |
---|
| 32 | Synchronisable.cc |
---|
[440] | 33 | dummyserver3.cc |
---|
[341] | 34 | ) |
---|
| 35 | |
---|
[555] | 36 | IF(WIN32) |
---|
| 37 | ADD_LIBRARY(network ${NETWORK_SRC_FILES}) |
---|
| 38 | ELSE(WIN32) |
---|
| 39 | ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES}) |
---|
| 40 | ENDIF(WIN32) |
---|
| 41 | |
---|
[539] | 42 | TARGET_LINK_LIBRARIES(network ${ZLIB_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) |
---|
[441] | 43 | |
---|
| 44 | ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) |
---|
| 45 | TARGET_LINK_LIBRARIES( chatserver |
---|
| 46 | ${OGRE_LIBRARIES} |
---|
| 47 | network |
---|
| 48 | core |
---|
[482] | 49 | #objects |
---|
[538] | 50 | ${ENet_LIBRARY} |
---|
[539] | 51 | ${ZLIB_LIBRARY} |
---|
[538] | 52 | ${WINDOWS_ENET_DEPENDENCIES} |
---|
[441] | 53 | ) |
---|
| 54 | |
---|
| 55 | ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES}) |
---|
| 56 | TARGET_LINK_LIBRARIES( chatclient |
---|
| 57 | ${OGRE_LIBRARIES} |
---|
| 58 | network |
---|
| 59 | core |
---|
[482] | 60 | #objects |
---|
[538] | 61 | ${ENet_LIBRARY} |
---|
[539] | 62 | ${ZLIB_LIBRARY} |
---|
[538] | 63 | ${WINDOWS_ENET_DEPENDENCIES} |
---|
[441] | 64 | ) |
---|
| 65 | |
---|
| 66 | ADD_EXECUTABLE(client dummyclient2.cc) |
---|
| 67 | TARGET_LINK_LIBRARIES( client |
---|
| 68 | ${OGRE_LIBRARIES} |
---|
| 69 | network |
---|
| 70 | core |
---|
[482] | 71 | #objects |
---|
[538] | 72 | ${ENet_LIBRARY} |
---|
| 73 | ${Zlib_LIBRARY} |
---|
| 74 | ${WINDOWS_ENET_DEPENDENCIES} |
---|
[441] | 75 | ) |
---|
[538] | 76 | |
---|
| 77 | ADD_EXECUTABLE(server dummyserver.cc) |
---|
[441] | 78 | TARGET_LINK_LIBRARIES( server |
---|
| 79 | ${OGRE_LIBRARIES} |
---|
| 80 | network |
---|
| 81 | core |
---|
[482] | 82 | #objects |
---|
[538] | 83 | ${ENet_LIBRARY} |
---|
| 84 | ${Zlib_LIBRARY} |
---|
| 85 | ${WINDOWS_ENET_DEPENDENCIES} |
---|
[441] | 86 | ) |
---|
| 87 | |
---|
Note: See
TracBrowser
for help on using the repository browser.