Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 630 was 592, checked in by nicolasc, 17 years ago

added engineglow particle effect - based of treibwerk
other various changes

File size: 1.6 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
44ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES})
45TARGET_LINK_LIBRARIES( chatserver
46  ${OGRE_LIBRARIES}
47  network
48  core
[482]49  #objects
[538]50  ${ENet_LIBRARY}
[539]51  ${ZLIB_LIBRARY}
[538]52  ${WINDOWS_ENET_DEPENDENCIES}
[441]53)
54
55ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES})
56TARGET_LINK_LIBRARIES( chatclient
57  ${OGRE_LIBRARIES}
58  network
59  core
[482]60  #objects
[538]61  ${ENet_LIBRARY}
[539]62  ${ZLIB_LIBRARY}
[538]63  ${WINDOWS_ENET_DEPENDENCIES}
[441]64)
65
66ADD_EXECUTABLE(client dummyclient2.cc)
67TARGET_LINK_LIBRARIES( client
68  ${OGRE_LIBRARIES}
69  network
70  core
[482]71  #objects
[538]72  ${ENet_LIBRARY}
[592]73  ${ZLIB_LIBRARY}
[538]74  ${WINDOWS_ENET_DEPENDENCIES}
[441]75)
[538]76
77ADD_EXECUTABLE(server dummyserver.cc)
[441]78TARGET_LINK_LIBRARIES( server
79  ${OGRE_LIBRARIES}
80  network
81  core
[482]82  #objects
[538]83  ${ENet_LIBRARY}
[592]84  ${ZLIB_LIBRARY}
[538]85  ${WINDOWS_ENET_DEPENDENCIES}
[441]86)
87
Note: See TracBrowser for help on using the repository browser.