Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 444 was 441, checked in by scheusso, 17 years ago

some cmake hacking, some testing

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