Changeset 536
- Timestamp:
- Dec 16, 2007, 12:57:38 AM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/cmake/FindALUT.cmake
r409 r536 40 40 /opt/include/OpenAL 41 41 /opt/include 42 ../libs/freealut-1.1.0/include 42 43 ) 43 44 # I'm not sure if I should do a special casing for Apple. It is … … 69 70 $ENV{ALUTDIR}/lib 70 71 $ENV{ALUTDIR}/libs 71 72 /usr/pack/openal-0.0.8-cl/i686-debian-linux3.1/lib 72 73 /usr/local/lib 73 74 /usr/lib … … 76 77 /opt/csw/lib 77 78 /opt/lib 79 ../libs/freealut-1.1.0/src/.libs 80 ../libs/freealut-1.1.0/lib 78 81 ) 79 82 ENDIF(${ALUT_INCLUDE_DIR} MATCHES ".framework") -
code/branches/FICN/cmake/FindBoost.cmake
r418 r536 76 76 # a library is selected for linking. 77 77 SET(Boost_LIB_DIAGNOSTIC_DEFINITIONS "-DBOOST_LIB_DIAGNOSTIC") 78 # SET(Boost_LIB_PREFIX "lib") 79 # SET(Boost_LIB_SUFFIX "gcc-mt-1_33_1.lib") 78 80 ENDIF(WIN32) 79 81 … … 109 111 # Look for an installation. 110 112 # 111 FIND_PATH(Boost_INCLUDE_DIR NAMES boost/config.hpp PATH_SUFFIXES ${SUFFIX_FOR_PATH} PATHS 113 IF(WIN32) 114 SET(Boost_INCLUDE_DIR ../libs/boost_1_33_1) 115 ELSE(WIN32) 116 FIND_PATH(Boost_INCLUDE_DIR NAMES boost/config.hpp PATH_SUFFIXES ${SUFFIX_FOR_PATH} PATHS 112 117 113 118 # Look in other places. 114 ${BOOST_DIR_SEARCH}119 ${BOOST_DIR_SEARCH} 115 120 116 121 # Help the user find it if we cannot. 117 DOC "The ${BOOST_INCLUDE_PATH_DESCRIPTION}" 118 ) 122 DOC "The ${BOOST_INCLUDE_PATH_DESCRIPTION}" 123 ) 124 ENDIF(WIN32) 119 125 120 126 # Assume we didn't find it. … … 140 146 IF(EXISTS "${Boost_LIBRARY_DIR}/lib") 141 147 SET (Boost_LIBRARY_DIR ${Boost_LIBRARY_DIR}/lib) 148 ELSEIF(EXISTS "${Boost_LIBRARY_DIR}/bin/boost/libs/thread/build/boost_thread.dll/gcc/release/threading-multi") 149 SET (Boost_LIBRARY_DIR ${Boost_LIBRARY_DIR}/bin/boost/libs/thread/build/boost_thread.dll/gcc/release/threading-multi) 142 150 ELSE(EXISTS "${Boost_LIBRARY_DIR}/lib") 143 151 IF(EXISTS "${Boost_LIBRARY_DIR}/stage/lib") … … 152 160 ENDIF(EXISTS "${Boost_LIBRARY_DIR}/lib") 153 161 162 154 163 IF(EXISTS "${Boost_INCLUDE_DIR}") 155 164 SET(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR}) … … 165 174 ENDIF(Boost_INCLUDE_DIR) 166 175 176 167 177 # 168 178 # Find boost libraries … … 175 185 gcc 176 186 il 187 gcc-1_33_1 188 gcc-mt-1_33_1 177 189 ) 178 190 -
code/branches/FICN/cmake/FindCEGUI.cmake
r144 r536 22 22 IF (WIN32) #Windows 23 23 MESSAGE(STATUS "Looking for CEGUI") 24 SET(CEGUI_INCLUDE_DIR ../ ogre/Dependencies/include/CEGUI)25 SET(CEGUI_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ ogre/Samples/Common/bin/Release/lib)24 SET(CEGUI_INCLUDE_DIR ../libs/ogre/Dependencies/include/CEGUI) 25 SET(CEGUI_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libs/ogre/Samples/Common/bin/Release/lib) 26 26 SET(CEGUI_LIBRARIES debug CEGUIBase_d optimized CEGUIBase) 27 27 ELSE (WIN32) #Unix -
code/branches/FICN/cmake/FindCEGUI_OGRE.cmake
r144 r536 22 22 IF (WIN32) #Windows 23 23 MESSAGE(STATUS "Looking for CEGUI_OGRE") 24 SET(CEGUI_OGRE_INCLUDE_DIR ../ ogre/Samples/Common/CEGUIRenderer/include)25 SET(CEGUI_OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ ogre/Samples/Common/bin/Release/lib)24 SET(CEGUI_OGRE_INCLUDE_DIR ../libs/ogre/Samples/Common/CEGUIRenderer/include) 25 SET(CEGUI_OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libs/ogre/Samples/Common/bin/Release/lib) 26 26 SET(CEGUI_OGRE_LIBRARIES debug OgreGUIRenderer_d optimized OgreGUIRenderer) 27 27 ELSE (WIN32) #Unix -
code/branches/FICN/cmake/FindENet.cmake
r337 r536 19 19 /usr/local/include 20 20 /usr/pack/enet-2007-sd/include 21 ../libs/enet-1.1/include 21 22 ) 22 23 … … 24 25 NAMES enet 25 26 PATHS /usr/lib /usr/local/lib /usr/pack/enet-2007-sd/i686-debian-linux3.1/lib/ 27 ../libs/enet-1.1 26 28 ) 27 29 -
code/branches/FICN/cmake/FindOGRE.cmake
r135 r536 18 18 IF (WIN32) #Windows 19 19 MESSAGE(STATUS "Looking for OGRE") 20 SET(OGRE_INCLUDE_DIR ../ ogre/OgreMain/include)21 SET(OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ ogre/Samples/Common/bin/Release)20 SET(OGRE_INCLUDE_DIR ../libs/ogre/OgreMain/include) 21 SET(OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libs/ogre/Samples/Common/bin/Release) 22 22 SET(OGRE_LIBRARIES debug OgreMain_d optimized OgreMain) 23 23 ELSE (WIN32) #Unix -
code/branches/FICN/cmake/FindOIS.cmake
r135 r536 22 22 IF (WIN32) #Windows 23 23 MESSAGE(STATUS "Looking for OIS") 24 SET(OIS_INCLUDE_DIR ../ ogre/Dependencies/include)25 SET(OIS_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ ogre/Samples/Common/bin/Release)24 SET(OIS_INCLUDE_DIR ../libs/ogre/Dependencies/include) 25 SET(OIS_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libs/ogre/Samples/Common/bin/Release) 26 26 SET(OIS_LIBRARIES debug OIS_d optimized OIS) 27 27 ELSE (WIN32) #Unix -
code/branches/FICN/cmake/FindOggVorbis.cmake
r409 r536 17 17 /opt/csw/include 18 18 /opt/include 19 ../libs/libogg-1.1.3/include 19 20 ) 20 21 … … 28 29 /opt/csw/include 29 30 /opt/include 31 ../libs/libvorbis-1.2.0/include 30 32 ) 31 33 … … 37 39 NAMES ogg 38 40 PATHS 39 41 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib 40 42 /usr/local/lib 41 43 /usr/lib … … 44 46 /opt/csw/lib 45 47 /opt/lib 48 ../libs/libogg-1.1.3/src/.libs 46 49 ) 47 50 … … 49 52 NAMES vorbis 50 53 PATHS 51 54 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib 52 55 /usr/local/lib 53 56 /usr/lib … … 56 59 /opt/csw/lib 57 60 /opt/lib 61 ../libs/libvorbis-1.2.0/lib/.libs 58 62 ) 59 63 … … 61 65 NAMES vorbisenc 62 66 PATHS 63 67 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib 64 68 /usr/local/lib 65 69 /usr/lib … … 68 72 /opt/csw/lib 69 73 /opt/lib 74 ../libs/libvorbis-1.2.0/lib/.libs 70 75 ) 71 76 … … 73 78 NAMES vorbisfile 74 79 PATHS 75 80 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib 76 81 /usr/local/lib 77 82 /usr/lib … … 80 85 /opt/csw/lib 81 86 /opt/lib 87 ../libs/libvorbis-1.2.0/lib/.libs 82 88 ) 83 89 -
code/branches/FICN/cmake/FindOpenAL.cmake
r409 r536 41 41 /opt/include/OpenAL 42 42 /opt/include 43 ../libs/openal-0.0.8/common/include 43 44 ) 44 45 # I'm not sure if I should do a special casing for Apple. It is … … 70 71 $ENV{OPENALDIR}/lib 71 72 $ENV{OPENALDIR}/libs 72 73 /usr/pack/openal-0.0.8-cl/i686-debian-linux3.1/lib 73 74 /usr/local/lib 74 75 /usr/lib … … 77 78 /opt/csw/lib 78 79 /opt/lib 80 ../libs/openal-0.0.8/src/.libs 79 81 ) 80 82 ENDIF(${OPENAL_INCLUDE_DIR} MATCHES ".framework") -
code/branches/FICN/src/audio/CMakeLists.txt
r486 r536 14 14 ADD_LIBRARY(audio ${SRC_FILES}) 15 15 16 TARGET_LINK_LIBRARIES(audio ${OPENAL_LIBRARY} ${ALUT_LIBRARY} ${ OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBISENC_LIBRARY})16 TARGET_LINK_LIBRARIES(audio ${OPENAL_LIBRARY} ${ALUT_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBISENC_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY}) 17 17 18 18 -
code/branches/FICN/src/network/dummyclient3.cc
r459 r536 3 3 #include "PacketManager.h" 4 4 #include "Client.h" 5 6 #ifdef WIN32 7 #include <windows.h> 8 #define usleep(x) Sleep((x)/1000) 9 #else 10 #include <unistd.h> 11 #endif 5 12 6 13 using namespace network;
Note: See TracChangeset
for help on using the changeset viewer.