Last change
on this file since 2731 was
2371,
checked in by scheusso, 16 years ago
|
merged network branch to presentation branch
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1505] | 1 | SET( NETWORK_SRC_FILES |
---|
[2087] | 2 | ChatListener.cc |
---|
[1505] | 3 | Client.cc |
---|
| 4 | ClientConnection.cc |
---|
| 5 | ClientInformation.cc |
---|
[2087] | 6 | ClientConnectionListener.cc |
---|
[1505] | 7 | ConnectionManager.cc |
---|
[1735] | 8 | GamestateManager.cc |
---|
| 9 | GamestateClient.cc |
---|
| 10 | GamestateHandler.cc |
---|
[1505] | 11 | PacketBuffer.cc |
---|
| 12 | Server.cc |
---|
[2371] | 13 | TrafficControl.cc |
---|
[1735] | 14 | Host.cc |
---|
[1505] | 15 | ) |
---|
| 16 | |
---|
[2131] | 17 | ADD_SOURCE_DIRECTORY(NETWORK_SRC_FILES packet) |
---|
[2371] | 18 | ADD_SOURCE_DIRECTORY(NETWORK_SRC_FILES synchronisable) |
---|
[2131] | 19 | |
---|
[2371] | 20 | |
---|
[1505] | 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.