Changeset 538 for code/branches
- Timestamp:
- Dec 16, 2007, 1:34:51 AM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/CMakeLists.txt
r466 r538 64 64 FIND_PACKAGE(ALUT) 65 65 FIND_PACKAGE(OggVorbis) 66 FIND_PACKAGE(Zlib) 67 68 IF(WIN32) 69 SET(WINDOWS_ENET_DEPENDENCIES "ws2_32;winmm") 70 ENDIF(WIN32) 66 71 67 72 #Sets the search paths for the linking 68 LINK_DIRECTORIES(${OGRE_LIB_DIR} ${OIS_LIB_DIR} ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} ${ENet_LIBRARY} ${Boost_LIBRARY_DIRS} core objects loader network weapon classHierarchy audio)73 LINK_DIRECTORIES(${OGRE_LIB_DIR} ${OIS_LIB_DIR} ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} ${ENet_LIBRARY} ${Boost_LIBRARY_DIRS} ${Zlib_LIBRARY_DIR} core objects loader network weapon classHierarchy audio) 69 74 #Sets the search path for include files 70 INCLUDE_DIRECTORIES(${OGRE_INCLUDE_DIR} ${OIS_INCLUDE_DIR} ${CEGUI_INCLUDE_DIR} ${CEGUI_OGRE_INCLUDE_DIR} ${ENet_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${OPENAL_INCLUDE_DIR} ${ALUT_INCLUDE_DIR} ${ OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})75 INCLUDE_DIRECTORIES(${OGRE_INCLUDE_DIR} ${OIS_INCLUDE_DIR} ${CEGUI_INCLUDE_DIR} ${CEGUI_OGRE_INCLUDE_DIR} ${ENet_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${OPENAL_INCLUDE_DIR} ${ALUT_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR}) 71 76 72 77 #add main source dir -
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; -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r515 r538 20 20 xml 21 21 orxonox 22 ${WINDOWS_ENET_DEPENDENCIES} 22 23 )
Note: See TracChangeset
for help on using the changeset viewer.