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