Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/network/CMakeLists.txt @ 2109

Last change on this file since 2109 was 2087, checked in by landauf, 16 years ago

merged objecthierarchy branch back to trunk

  • Property svn:eol-style set to native
File size: 1.1 KB
RevLine 
[1505]1SET( 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
13  Synchronisable.cc
[1735]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
[1907]21  packet/DeleteObjects.cc
[1505]22)
23
24IF(WIN32)
25  ADD_LIBRARY( network ${NETWORK_SRC_FILES} )
26ELSE(WIN32)
27  ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} )
28ENDIF(WIN32)
29
30TARGET_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.
39IF(NETWORK_TESTING_ENABLED)
40  ##### test for gamestate stuff #####
41  SET( TEST_SRC_FILES
[1735]42    ${NETWORK_SRC_FILES}
[1505]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 #####
53ENDIF(NETWORK_TESTING_ENABLED)
Note: See TracBrowser for help on using the repository browser.