Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

some cmake hacking, some testing

File size: 1.1 KB
RevLine 
[341]1PROJECT(Orxonox)
2
[441]3SET( CHATCLIENT_SRC_FILES
4  dummyclient3.cc
5)
6SET( CHATSERVER_SRC_FILES
7  dummyserver3.cc
8)
9
10
11
[341]12SET( NETWORK_SRC_FILES
[376]13  Client.cc
14  ClientConnection.cc
[431]15  ClientInformation.cc
[376]16  ConnectionManager.cc
[431]17  GameStateManager.cc
[415]18  GameStateClient.cc
[376]19  PacketBuffer.cc
20  PacketDecoder.cc
21  PacketGenerator.cc
22  Server.cc
23  Synchronisable.cc
[440]24  dummyserver3.cc
[341]25)
26
[372]27ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES})
[376]28TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})
[441]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.