Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added engineglow particle effect - based of treibwerk
other various changes

File size: 1.6 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)
11
12SET( CHATSERVER_SRC_FILES
13  ConnectionManager.cc
14  GameStateManager.cc
15  PacketBuffer.cc
16  PacketDecoder.cc
17  PacketGenerator.cc
18  dummyserver3.cc
19)
20
21SET( NETWORK_SRC_FILES
22  Client.cc
23  ClientConnection.cc
24  ClientInformation.cc
25  ConnectionManager.cc
26  GameStateManager.cc
27  GameStateClient.cc
28  PacketBuffer.cc
29  PacketDecoder.cc
30  PacketGenerator.cc
31  Server.cc
32  Synchronisable.cc
33  dummyserver3.cc
34)
35
36IF(WIN32)
37  ADD_LIBRARY(network ${NETWORK_SRC_FILES})
38ELSE(WIN32)
39  ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES})
40ENDIF(WIN32)
41
42TARGET_LINK_LIBRARIES(network ${ZLIB_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})
43
44ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES})
45TARGET_LINK_LIBRARIES( chatserver
46  ${OGRE_LIBRARIES}
47  network
48  core
49  #objects
50  ${ENet_LIBRARY}
51  ${ZLIB_LIBRARY}
52  ${WINDOWS_ENET_DEPENDENCIES}
53)
54
55ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES})
56TARGET_LINK_LIBRARIES( chatclient
57  ${OGRE_LIBRARIES}
58  network
59  core
60  #objects
61  ${ENet_LIBRARY}
62  ${ZLIB_LIBRARY}
63  ${WINDOWS_ENET_DEPENDENCIES}
64)
65
66ADD_EXECUTABLE(client dummyclient2.cc)
67TARGET_LINK_LIBRARIES( client
68  ${OGRE_LIBRARIES}
69  network
70  core
71  #objects
72  ${ENet_LIBRARY}
73  ${ZLIB_LIBRARY}
74  ${WINDOWS_ENET_DEPENDENCIES}
75)
76
77ADD_EXECUTABLE(server dummyserver.cc)
78TARGET_LINK_LIBRARIES( server
79  ${OGRE_LIBRARIES}
80  network
81  core
82  #objects
83  ${ENet_LIBRARY}
84  ${ZLIB_LIBRARY}
85  ${WINDOWS_ENET_DEPENDENCIES}
86)
87
Note: See TracBrowser for help on using the repository browser.