Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 513 was 482, checked in by nicolape, 17 years ago

Added example implementation of world entity

File size: 1.2 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)
11SET( CHATSERVER_SRC_FILES
[448]12  ConnectionManager.cc
13  GameStateManager.cc
14  PacketBuffer.cc
15  PacketDecoder.cc
16  PacketGenerator.cc
[441]17  dummyserver3.cc
18)
19
20
21
[341]22SET( NETWORK_SRC_FILES
[376]23  Client.cc
24  ClientConnection.cc
[431]25  ClientInformation.cc
[376]26  ConnectionManager.cc
[431]27  GameStateManager.cc
[415]28  GameStateClient.cc
[376]29  PacketBuffer.cc
30  PacketDecoder.cc
31  PacketGenerator.cc
32  Server.cc
33  Synchronisable.cc
[440]34  dummyserver3.cc
[341]35)
36
[372]37ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES})
[376]38TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})
[441]39
40ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES})
41TARGET_LINK_LIBRARIES( chatserver
42  ${OGRE_LIBRARIES}
43  network
44  core
[482]45  #objects
[441]46)
47
48ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES})
49TARGET_LINK_LIBRARIES( chatclient
50  ${OGRE_LIBRARIES}
51  network
52  core
[482]53  #objects
[441]54)
55
56ADD_EXECUTABLE(client dummyclient2.cc)
57ADD_EXECUTABLE(server dummyserver.cc)
58TARGET_LINK_LIBRARIES( client
59  ${OGRE_LIBRARIES}
60  network
61  core
[482]62  #objects
[441]63)
64TARGET_LINK_LIBRARIES( server
65  ${OGRE_LIBRARIES}
66  network
67  core
[482]68  #objects
[441]69)
70
Note: See TracBrowser for help on using the repository browser.