Last change
on this file since 2055 was
1907,
checked in by scheusso, 16 years ago
|
merged network branch back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
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 |
---|
[1907] | 19 | packet/DeleteObjects.cc |
---|
[1505] | 20 | ) |
---|
| 21 | |
---|
| 22 | IF(WIN32) |
---|
| 23 | ADD_LIBRARY( network ${NETWORK_SRC_FILES} ) |
---|
| 24 | ELSE(WIN32) |
---|
| 25 | ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} ) |
---|
| 26 | ENDIF(WIN32) |
---|
| 27 | |
---|
| 28 | TARGET_LINK_LIBRARIES( network |
---|
| 29 | ${ZLIB_LIBRARY} |
---|
| 30 | ${ENet_LIBRARY} |
---|
| 31 | ${Boost_thread_LIBRARIES} |
---|
| 32 | core |
---|
| 33 | ) |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | # build those parts only on request. |
---|
| 37 | IF(NETWORK_TESTING_ENABLED) |
---|
| 38 | ##### test for gamestate stuff ##### |
---|
| 39 | SET( TEST_SRC_FILES |
---|
[1735] | 40 | ${NETWORK_SRC_FILES} |
---|
[1505] | 41 | ) |
---|
| 42 | ADD_EXECUTABLE(networktest ${TEST_SRC_FILES}) |
---|
| 43 | TARGET_LINK_LIBRARIES( networktest |
---|
| 44 | ${OGRE_LIBRARIES} |
---|
| 45 | network |
---|
| 46 | ${ENet_LIBRARY} |
---|
| 47 | ${ZLIB_LIBRARY} |
---|
| 48 | ${WINDOWS_ENET_DEPENDENCIES} |
---|
| 49 | ) |
---|
| 50 | ##### end test for gamestate stuff ##### |
---|
| 51 | ENDIF(NETWORK_TESTING_ENABLED) |
---|
Note: See
TracBrowser
for help on using the repository browser.