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