Last change
on this file since 446 was
441,
checked in by scheusso, 17 years ago
|
some cmake hacking, some testing
|
File size:
1.1 KB
|
Line | |
---|
1 | PROJECT(Orxonox) |
---|
2 | |
---|
3 | SET( CHATCLIENT_SRC_FILES |
---|
4 | dummyclient3.cc |
---|
5 | ) |
---|
6 | SET( CHATSERVER_SRC_FILES |
---|
7 | dummyserver3.cc |
---|
8 | ) |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | SET( 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 | |
---|
27 | ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES}) |
---|
28 | TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) |
---|
29 | |
---|
30 | ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) |
---|
31 | TARGET_LINK_LIBRARIES( chatserver |
---|
32 | ${OGRE_LIBRARIES} |
---|
33 | ${OIS_LIBRARIES} |
---|
34 | network |
---|
35 | core |
---|
36 | objects |
---|
37 | ) |
---|
38 | |
---|
39 | ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES}) |
---|
40 | TARGET_LINK_LIBRARIES( chatclient |
---|
41 | ${OGRE_LIBRARIES} |
---|
42 | ${OIS_LIBRARIES} |
---|
43 | network |
---|
44 | core |
---|
45 | objects |
---|
46 | ) |
---|
47 | |
---|
48 | ADD_EXECUTABLE(client dummyclient2.cc) |
---|
49 | ADD_EXECUTABLE(server dummyserver.cc) |
---|
50 | TARGET_LINK_LIBRARIES( client |
---|
51 | ${OGRE_LIBRARIES} |
---|
52 | ${OIS_LIBRARIES} |
---|
53 | network |
---|
54 | core |
---|
55 | objects |
---|
56 | ) |
---|
57 | TARGET_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.