Changeset 539
- Timestamp:
- Dec 16, 2007, 2:04:21 AM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 7 added
- 1 deleted
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/CMakeLists.txt
r538 r539 64 64 FIND_PACKAGE(ALUT) 65 65 FIND_PACKAGE(OggVorbis) 66 FIND_PACKAGE(Z lib)66 FIND_PACKAGE(ZLIB) 67 67 68 68 IF(WIN32) -
code/branches/FICN/bin/resources.cfg
r535 r539 11 11 FileSystem=../Media/materials/scripts 12 12 FileSystem=../Media/materials/textures 13 #FileSystem=../Media/material14 13 FileSystem=../Media/models 15 14 FileSystem=../Media/overlay -
code/branches/FICN/cmake/FindZLIB.cmake
r538 r539 1 # - Find zlib 2 # Find the native ZLIB includes and library 3 # 4 # ZLIB_INCLUDE_DIR - where to find zlib.h, etc. 5 # ZLIB_LIBRARIES - List of libraries when using zlib. 6 # ZLIB_FOUND - True if zlib found. 7 # 8 # Modified by Nicolas Schlumberger, (c) 2007 9 # to make it work on the Tardis Infrastucture of the ETH Zurich 10 # 11 12 IF(UNIX) 13 IF (ZLIB_INCLUDE_DIR) 14 # Already in cache, be silent 15 SET(ZLIB_FIND_QUIETLY TRUE) 16 ENDIF (ZLIB_INCLUDE_DIR) 17 18 FIND_PATH(ZLIB_INCLUDE_DIR zlib.h 19 /usr/pack/zziplib-0.13.49-sd/include/ 20 /usr/local/include 21 /usr/include 22 ) 23 24 SET(ZLIB_NAMES z zlib zdll) 25 FIND_LIBRARY(ZLIB_LIBRARY 26 NAMES ${ZLIB_NAMES} 27 PATHS /usr/pack/zziplib-0.13.49-sd/i686-debian-linux3.1/lib/ /usr/lib /usr/local/lib 28 ) 29 30 IF (ZLIB_INCLUDE_DIR AND ZLIB_LIBRARY) 31 SET(ZLIB_FOUND TRUE) 32 SET( ZLIB_LIBRARIES ${ZLIB_LIBRARY} ) 33 ELSE (ZLIB_INCLUDE_DIR AND ZLIB_LIBRARY) 34 SET(ZLIB_FOUND FALSE) 35 SET( ZLIB_LIBRARIES ) 36 ENDIF (ZLIB_INCLUDE_DIR AND ZLIB_LIBRARY) 37 38 IF (ZLIB_FOUND) 39 IF (NOT ZLIB_FIND_QUIETLY) 40 MESSAGE(STATUS "Found ZLIB: ${ZLIB_LIBRARY}") 41 ENDIF (NOT ZLIB_FIND_QUIETLY) 42 ELSE (ZLIB_FOUND) 43 IF (ZLIB_FIND_REQUIRED) 44 MESSAGE(STATUS "Looked for Z libraries named ${ZLIBS_NAMES}.") 45 MESSAGE(FATAL_ERROR "Could NOT find z library") 46 ENDIF (ZLIB_FIND_REQUIRED) 47 ENDIF (ZLIB_FOUND) 48 49 MARK_AS_ADVANCED( 50 ZLIB_LIBRARY 51 ZLIB_INCLUDE_DIR 52 ) 53 ENDIF(UNIX) 54 1 55 IF(WIN32) 2 56 IF(EXISTS "../libs/ogre/Dependencies/lib/Release") 3 SET (Z lib_LIBRARY_DIR "../libs/ogre/Dependencies/lib/Release")57 SET (ZLIB_LIBRARY_DIR "../libs/ogre/Dependencies/lib/Release") 4 58 ENDIF(EXISTS "../libs/ogre/Dependencies/lib/Release") 5 59 6 FIND_LIBRARY(Z lib_LIBRARY60 FIND_LIBRARY(ZLIB_LIBRARY 7 61 NAMES zlib 8 62 PATHS ${Zlib_LIBRARY_DIR} … … 13 67 ELSE(Zlib_LIBRARY) 14 68 MESSAGE(FATAL_ERROR "Zlib was NOT found.") 15 ENDIF(Z lib_LIBRARY)69 ENDIF(ZLIB_LIBRARY) 16 70 ENDIF(WIN32) -
code/branches/FICN/src/network/CMakeLists.txt
r538 r539 35 35 36 36 ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES}) 37 TARGET_LINK_LIBRARIES(network ${Z lib_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})37 TARGET_LINK_LIBRARIES(network ${ZLIB_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) 38 38 39 39 ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) … … 44 44 #objects 45 45 ${ENet_LIBRARY} 46 ${Z lib_LIBRARY}46 ${ZLIB_LIBRARY} 47 47 ${WINDOWS_ENET_DEPENDENCIES} 48 48 ) … … 55 55 #objects 56 56 ${ENet_LIBRARY} 57 ${Z lib_LIBRARY}57 ${ZLIB_LIBRARY} 58 58 ${WINDOWS_ENET_DEPENDENCIES} 59 59 ) -
code/branches/FICN/src/orxonox/orxonox.cc
r537 r539 67 67 #include "../network/Client.h" 68 68 #include "../network/NetworkFrameListener.h" 69 70 // some tests to see if enet works without includsion71 //#include <enet/enet.h>72 //#include <enet/protocol.h>73 69 74 70
Note: See TracChangeset
for help on using the changeset viewer.