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