Last change
on this file since 477 was
475,
checked in by scheusso, 17 years ago
|
some improvements in chatserver/client
|
File size:
1.2 KB
|
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 | SET( CHATSERVER_SRC_FILES |
---|
12 | ConnectionManager.cc |
---|
13 | GameStateManager.cc |
---|
14 | PacketBuffer.cc |
---|
15 | PacketDecoder.cc |
---|
16 | PacketGenerator.cc |
---|
17 | dummyserver3.cc |
---|
18 | ) |
---|
19 | |
---|
20 | |
---|
21 | |
---|
22 | SET( NETWORK_SRC_FILES |
---|
23 | Client.cc |
---|
24 | ClientConnection.cc |
---|
25 | ClientInformation.cc |
---|
26 | ConnectionManager.cc |
---|
27 | GameStateManager.cc |
---|
28 | GameStateClient.cc |
---|
29 | PacketBuffer.cc |
---|
30 | PacketDecoder.cc |
---|
31 | PacketGenerator.cc |
---|
32 | Server.cc |
---|
33 | Synchronisable.cc |
---|
34 | dummyserver3.cc |
---|
35 | ) |
---|
36 | |
---|
37 | ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES}) |
---|
38 | TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) |
---|
39 | |
---|
40 | ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) |
---|
41 | TARGET_LINK_LIBRARIES( chatserver |
---|
42 | ${OGRE_LIBRARIES} |
---|
43 | network |
---|
44 | core |
---|
45 | objects |
---|
46 | ) |
---|
47 | |
---|
48 | ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES}) |
---|
49 | TARGET_LINK_LIBRARIES( chatclient |
---|
50 | ${OGRE_LIBRARIES} |
---|
51 | network |
---|
52 | core |
---|
53 | objects |
---|
54 | ) |
---|
55 | |
---|
56 | ADD_EXECUTABLE(client dummyclient2.cc) |
---|
57 | ADD_EXECUTABLE(server dummyserver.cc) |
---|
58 | TARGET_LINK_LIBRARIES( client |
---|
59 | ${OGRE_LIBRARIES} |
---|
60 | network |
---|
61 | core |
---|
62 | objects |
---|
63 | ) |
---|
64 | TARGET_LINK_LIBRARIES( server |
---|
65 | ${OGRE_LIBRARIES} |
---|
66 | network |
---|
67 | core |
---|
68 | objects |
---|
69 | ) |
---|
70 | |
---|
Note: See
TracBrowser
for help on using the repository browser.