Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/network/CMakeLists.txt @ 1940

Last change on this file since 1940 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
RevLine 
[1505]1SET( NETWORK_SRC_FILES
2  Client.cc
3  ClientConnection.cc
4  ClientInformation.cc
[1938]5  ClientConnectionListener.cc
[1505]6  ConnectionManager.cc
[1735]7  GamestateManager.cc
8  GamestateClient.cc
9  GamestateHandler.cc
[1505]10  PacketBuffer.cc
11  Server.cc
12  Synchronisable.cc
[1735]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
[1907]20  packet/DeleteObjects.cc
[1505]21)
22
23IF(WIN32)
[1940]24  ADD_LIBRARY( network ${NETWORK_SRC_FILES} )
[1505]25ELSE(WIN32)
26  ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} )
27ENDIF(WIN32)
28
29TARGET_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.
38IF(NETWORK_TESTING_ENABLED)
39  ##### test for gamestate stuff #####
40  SET( TEST_SRC_FILES
[1735]41    ${NETWORK_SRC_FILES}
[1505]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 #####
52ENDIF(NETWORK_TESTING_ENABLED)
Note: See TracBrowser for help on using the repository browser.