Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/network/CMakeLists.txt @ 663

Last change on this file since 663 was 659, checked in by nicolasc, 17 years ago
  • a lot of inlining of getfunctions
  • set libaudio to shared (not sure, if related: audioplayer + ingame sound == crash!)
  • minor space cleanups
File size: 1.7 KB
RevLine 
[341]1PROJECT(Orxonox)
2
[441]3SET( CHATCLIENT_SRC_FILES
[448]4  ClientConnection.cc
5  Client.cc
6  PacketBuffer.cc
7  PacketDecoder.cc
8  PacketGenerator.cc
[441]9  dummyclient3.cc
10)
[538]11
[441]12SET( CHATSERVER_SRC_FILES
[448]13  ConnectionManager.cc
14  GameStateManager.cc
15  PacketBuffer.cc
16  PacketDecoder.cc
17  PacketGenerator.cc
[441]18  dummyserver3.cc
19)
20
[341]21SET( NETWORK_SRC_FILES
[376]22  Client.cc
23  ClientConnection.cc
[431]24  ClientInformation.cc
[376]25  ConnectionManager.cc
[431]26  GameStateManager.cc
[415]27  GameStateClient.cc
[376]28  PacketBuffer.cc
29  PacketDecoder.cc
30  PacketGenerator.cc
31  Server.cc
32  Synchronisable.cc
[440]33  dummyserver3.cc
[341]34)
35
[555]36IF(WIN32)
37  ADD_LIBRARY(network ${NETWORK_SRC_FILES})
38ELSE(WIN32)
39  ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES})
40ENDIF(WIN32)
41
[539]42TARGET_LINK_LIBRARIES(network ${ZLIB_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})
[441]43
[659]44# chatserver for testing purposes
[441]45ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES})
46TARGET_LINK_LIBRARIES( chatserver
47  ${OGRE_LIBRARIES}
48  network
49  core
[482]50  #objects
[538]51  ${ENet_LIBRARY}
[539]52  ${ZLIB_LIBRARY}
[538]53  ${WINDOWS_ENET_DEPENDENCIES}
[441]54)
55
[659]56# chatclient for testing purpose
[441]57ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES})
58TARGET_LINK_LIBRARIES( chatclient
59  ${OGRE_LIBRARIES}
60  network
61  core
[482]62  #objects
[538]63  ${ENet_LIBRARY}
[539]64  ${ZLIB_LIBRARY}
[538]65  ${WINDOWS_ENET_DEPENDENCIES}
[441]66)
67
[659]68# client for testing purpose
[441]69ADD_EXECUTABLE(client dummyclient2.cc)
70TARGET_LINK_LIBRARIES( client
71  ${OGRE_LIBRARIES}
72  network
73  core
[482]74  #objects
[538]75  ${ENet_LIBRARY}
[592]76  ${ZLIB_LIBRARY}
[538]77  ${WINDOWS_ENET_DEPENDENCIES}
[441]78)
[538]79
[659]80# server for testing purpose
[538]81ADD_EXECUTABLE(server dummyserver.cc)
[441]82TARGET_LINK_LIBRARIES( server
83  ${OGRE_LIBRARIES}
84  network
85  core
[482]86  #objects
[538]87  ${ENet_LIBRARY}
[592]88  ${ZLIB_LIBRARY}
[538]89  ${WINDOWS_ENET_DEPENDENCIES}
[441]90)
91
Note: See TracBrowser for help on using the repository browser.