Last change
on this file since 2162 was
1953,
checked in by landauf, 16 years ago
|
added chat overlay
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | SET( NETWORK_SRC_FILES |
---|
2 | ChatListener.cc |
---|
3 | Client.cc |
---|
4 | ClientConnection.cc |
---|
5 | ClientInformation.cc |
---|
6 | ClientConnectionListener.cc |
---|
7 | ConnectionManager.cc |
---|
8 | GamestateManager.cc |
---|
9 | GamestateClient.cc |
---|
10 | GamestateHandler.cc |
---|
11 | PacketBuffer.cc |
---|
12 | Server.cc |
---|
13 | Synchronisable.cc |
---|
14 | Host.cc |
---|
15 | packet/Packet.cc |
---|
16 | packet/Chat.cc |
---|
17 | packet/ClassID.cc |
---|
18 | packet/Acknowledgement.cc |
---|
19 | packet/Gamestate.cc |
---|
20 | packet/Welcome.cc |
---|
21 | packet/DeleteObjects.cc |
---|
22 | ) |
---|
23 | |
---|
24 | IF(WIN32) |
---|
25 | ADD_LIBRARY( network ${NETWORK_SRC_FILES} ) |
---|
26 | ELSE(WIN32) |
---|
27 | ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} ) |
---|
28 | ENDIF(WIN32) |
---|
29 | |
---|
30 | TARGET_LINK_LIBRARIES( network |
---|
31 | ${ZLIB_LIBRARY} |
---|
32 | ${ENet_LIBRARY} |
---|
33 | ${Boost_thread_LIBRARIES} |
---|
34 | core |
---|
35 | ) |
---|
36 | |
---|
37 | |
---|
38 | # build those parts only on request. |
---|
39 | IF(NETWORK_TESTING_ENABLED) |
---|
40 | ##### test for gamestate stuff ##### |
---|
41 | SET( TEST_SRC_FILES |
---|
42 | ${NETWORK_SRC_FILES} |
---|
43 | ) |
---|
44 | ADD_EXECUTABLE(networktest ${TEST_SRC_FILES}) |
---|
45 | TARGET_LINK_LIBRARIES( networktest |
---|
46 | ${OGRE_LIBRARIES} |
---|
47 | network |
---|
48 | ${ENet_LIBRARY} |
---|
49 | ${ZLIB_LIBRARY} |
---|
50 | ${WINDOWS_ENET_DEPENDENCIES} |
---|
51 | ) |
---|
52 | ##### end test for gamestate stuff ##### |
---|
53 | ENDIF(NETWORK_TESTING_ENABLED) |
---|
Note: See
TracBrowser
for help on using the repository browser.