Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Added example implementation of world entity

File size: 1.2 KB
Line 
1PROJECT(Orxonox)
2
3SET( CHATCLIENT_SRC_FILES
4  ClientConnection.cc
5  Client.cc
6  PacketBuffer.cc
7  PacketDecoder.cc
8  PacketGenerator.cc
9  dummyclient3.cc
10)
11SET( CHATSERVER_SRC_FILES
12  ConnectionManager.cc
13  GameStateManager.cc
14  PacketBuffer.cc
15  PacketDecoder.cc
16  PacketGenerator.cc
17  dummyserver3.cc
18)
19
20
21
22SET( NETWORK_SRC_FILES
23  Client.cc
24  ClientConnection.cc
25  ClientInformation.cc
26  ConnectionManager.cc
27  GameStateManager.cc
28  GameStateClient.cc
29  PacketBuffer.cc
30  PacketDecoder.cc
31  PacketGenerator.cc
32  Server.cc
33  Synchronisable.cc
34  dummyserver3.cc
35)
36
37ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES})
38TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})
39
40ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES})
41TARGET_LINK_LIBRARIES( chatserver
42  ${OGRE_LIBRARIES}
43  network
44  core
45  #objects
46)
47
48ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES})
49TARGET_LINK_LIBRARIES( chatclient
50  ${OGRE_LIBRARIES}
51  network
52  core
53  #objects
54)
55
56ADD_EXECUTABLE(client dummyclient2.cc)
57ADD_EXECUTABLE(server dummyserver.cc)
58TARGET_LINK_LIBRARIES( client
59  ${OGRE_LIBRARIES}
60  network
61  core
62  #objects
63)
64TARGET_LINK_LIBRARIES( server
65  ${OGRE_LIBRARIES}
66  network
67  core
68  #objects
69)
70
Note: See TracBrowser for help on using the repository browser.