Changeset 538 for code/branches/FICN/src/network
- Timestamp:
- Dec 16, 2007, 1:34:51 AM (17 years ago)
- Location:
- code/branches/FICN/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/CMakeLists.txt
r482 r538 9 9 dummyclient3.cc 10 10 ) 11 11 12 SET( CHATSERVER_SRC_FILES 12 13 ConnectionManager.cc … … 17 18 dummyserver3.cc 18 19 ) 19 20 21 20 22 21 SET( NETWORK_SRC_FILES … … 36 35 37 36 ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES}) 38 TARGET_LINK_LIBRARIES(network ${ ENet_LIBRARY} ${Boost_thread_LIBRARIES})37 TARGET_LINK_LIBRARIES(network ${Zlib_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) 39 38 40 39 ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) … … 44 43 core 45 44 #objects 45 ${ENet_LIBRARY} 46 ${Zlib_LIBRARY} 47 ${WINDOWS_ENET_DEPENDENCIES} 46 48 ) 47 49 … … 52 54 core 53 55 #objects 56 ${ENet_LIBRARY} 57 ${Zlib_LIBRARY} 58 ${WINDOWS_ENET_DEPENDENCIES} 54 59 ) 55 60 56 61 ADD_EXECUTABLE(client dummyclient2.cc) 57 ADD_EXECUTABLE(server dummyserver.cc)58 62 TARGET_LINK_LIBRARIES( client 59 63 ${OGRE_LIBRARIES} … … 61 65 core 62 66 #objects 67 ${ENet_LIBRARY} 68 ${Zlib_LIBRARY} 69 ${WINDOWS_ENET_DEPENDENCIES} 63 70 ) 71 72 ADD_EXECUTABLE(server dummyserver.cc) 64 73 TARGET_LINK_LIBRARIES( server 65 74 ${OGRE_LIBRARIES} … … 67 76 core 68 77 #objects 78 ${ENet_LIBRARY} 79 ${Zlib_LIBRARY} 80 ${WINDOWS_ENET_DEPENDENCIES} 69 81 ) 70 82 -
code/branches/FICN/src/network/dummyclient2.cc
r514 r538 36 36 #include "PacketManager.h" 37 37 #include "ClientConnection.h" 38 39 #ifdef WIN32 40 #include <windows.h> 41 #define usleep(x) Sleep((x)/1000) 42 #else 43 #include <unistd.h> 44 #endif 38 45 39 46 using namespace network;
Note: See TracChangeset
for help on using the changeset viewer.