- Timestamp:
- Jan 8, 2009, 10:22:22 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/ConfigMinGW.cmake
r2579 r2581 42 42 SET(ENV{ENETDIR} ${MINGW_LIBRARY_DIR}/enet-1.1) 43 43 # ENet is linked statically, hence we need to add some windows dependencies 44 SET(EN et_ADDITIONAL_LIBRARIES ws2_32 winmm)44 SET(ENET_ADDITIONAL_LIBRARIES ws2_32 winmm) 45 45 SET(ENV{ALUTDIR} ${MINGW_LIBRARY_DIR}/freealut-1.1.0) 46 46 SET(ENV{OGGSDIR} ${MINGW_LIBRARY_DIR}/libogg-1.1.3 -
code/branches/buildsystem2/cmake/ConfigPlatforms.cmake
r2579 r2581 31 31 32 32 # Set some variables to default values that may be configured below 33 SET(EN et_ADDITIONAL_LIBRARIES "")33 SET(ENET_ADDITIONAL_LIBRARIES "") 34 34 SET(ORXONOX_FPIC_FLAG "-fPIC") 35 35 SET(LIBRARY_DEBUG_POSTFIX "_d") 36 36 MARK_AS_ADVANCED( 37 EN et_ADDITIONAL_LIBRARIES37 ENET_ADDITIONAL_LIBRARIES 38 38 ORXONOX_FPIC_FLAG 39 39 LIBRARY_DEBUG_POSTFIX -
code/branches/buildsystem2/cmake/ConfigTardis.cmake
r2579 r2581 18 18 19 19 #SET(Boost_ADDITIONAL_VERSIONS "1.36") 20 SET(BOOST_INCLUDEDIR /usr/pack/boost-1.34.1-sd/include) 21 SET(BOOST_LIBRARYDIR /usr/pack/boost-1.34.1-sd/i686-debian-linux3.1/lib) 22 SET(ENV{CEGUIDIR} /usr/pack/cegui-0.5.0-sd 23 /usr/pack/cegui-0.5.0-sd/i686-debian-linux3.1) 24 SET(ENV{ENETDIR} /usr/pack/enet-2007-sd 25 /usr/pack/enet-2007-sd/i686-debian-linux3.1) 26 SET(ENV{ALUTDIR} /usr/pack/openal-0.0.8-cl 27 /usr/pack/openal-0.0.8-cl/i686-debian-linux3.1) 28 SET(ENV{OGGDIR} /usr/pack/oggvorbis-1.0-ds 29 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0) 30 SET(ENV{VORBISDIR} /usr/pack/oggvorbis-1.0-ds 31 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0) 32 SET(ENV{LUA_DIR} /usr/pack/lua-5.0.3-sd 33 /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1) 34 SET(ENV{OGRE_HOME} /usr/pack/ogre-1.4.5-sd 35 /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1) 36 SET(ENV{OPENALDIR} /usr/pack/openal-0.0.8-cl 37 /usr/pack/openal-0.0.8-cl/i686-debian-linux3.1) 38 #SET(TCL_INCLUDE_PATH /usr/pack/tcltk-8.4.9.linux-mo/include) 20 SET(BOOST_INCLUDEDIR "/usr/pack/boost-1.34.1-sd/include") 21 SET(BOOST_LIBRARYDIR "/usr/pack/boost-1.34.1-sd/i686-debian-linux3.1/lib") 22 SET(ENV{CEGUIDIR} "/usr/pack/cegui-0.5.0-sd;/usr/pack/cegui-0.5.0-sd/i686-debian-linux3.1") 23 SET(ENV{ENETDIR} "/usr/pack/enet-2007-sd;/usr/pack/enet-2007-sd/i686-debian-linux3.1") 24 SET(ENV{ALUTDIR} "/usr/pack/openal-0.0.8-cl;/usr/pack/openal-0.0.8-cl/i686-debian-linux3.1") 25 SET(ENV{OGGDIR} "/usr/pack/oggvorbis-1.0-ds;/usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0") 26 SET(ENV{VORBISDIR} "/usr/pack/oggvorbis-1.0-ds;/usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.0") 27 SET(ENV{LUA_DIR} "/usr/pack/lua-5.0.3-sd;/usr/pack/lua-5.0.3-sd/i686-debian-linux3.1") 28 SET(ENV{OGRE_HOME} "/usr/pack/ogre-1.4.5-sd;/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1") 29 SET(ENV{OPENALDIR} "/usr/pack/openal-0.0.8-cl;/usr/pack/openal-0.0.8-cl/i686-debian-linux3.1") 30 #SET(TCL_INCLUDE_PATH "/usr/pack/tcltk-8.4.9.linux-mo/include") 39 31 ENDIF (IS_TARDIS) -
code/branches/buildsystem2/cmake/FindENet.cmake
r2579 r2581 15 15 # > www.orxonox.net < 16 16 17 FIND_PATH(EN et_INCLUDE_DIR enet/enet.h17 FIND_PATH(ENET_INCLUDE_DIR enet/enet.h 18 18 PATHS 19 19 $ENV{ENETDIR} … … 22 22 PATH_SUFFIXES include 23 23 ) 24 FIND_LIBRARY(EN et_LIBRARY_OPTIMIZED24 FIND_LIBRARY(ENET_LIBRARY_OPTIMIZED 25 25 NAMES enet 26 26 PATHS … … 30 30 PATH_SUFFIXES lib 31 31 ) 32 FIND_LIBRARY(EN et_LIBRARY_DEBUG32 FIND_LIBRARY(ENET_LIBRARY_DEBUG 33 33 NAMES enet_${LIBRARY_DEBUG_POSTFIX} 34 34 PATHS … … 41 41 # handle the QUIETLY and REQUIRED arguments and set ENET_FOUND to TRUE if 42 42 # all listed variables are TRUE 43 FIND_PACKAGE_HANDLE_STANDARD_ARGS(EN etDEFAULT_MSG44 EN et_LIBRARY_OPTIMIZED45 EN et_INCLUDE_DIR43 FIND_PACKAGE_HANDLE_STANDARD_ARGS(ENET DEFAULT_MSG 44 ENET_LIBRARY_OPTIMIZED 45 ENET_INCLUDE_DIR 46 46 ) 47 47 48 48 # Set optimized and debug libraries 49 HandleLibraryTypes(EN et ${ENet_ADDITIONAL_LIBRARIES})49 HandleLibraryTypes(ENET ${ENET_ADDITIONAL_LIBRARIES}) 50 50 51 51 MARK_AS_ADVANCED( 52 EN et_LIBRARY53 EN et_LIBRARY_OPTIMIZED54 EN et_LIBRARY_DEBUG55 EN et_INCLUDE_DIR52 ENET_LIBRARY 53 ENET_LIBRARY_OPTIMIZED 54 ENET_LIBRARY_DEBUG 55 ENET_INCLUDE_DIR 56 56 ) -
code/branches/buildsystem2/src/network/CMakeLists.txt
r2579 r2581 26 26 TARGET_LINK_LIBRARIES( network 27 27 ${ZLIB_LIBRARY} 28 ${EN et_LIBRARIES}28 ${ENET_LIBRARY} 29 29 ${Boost_THREAD_LIBRARY} 30 30 core … … 45 45 ${OGRE_LIBRARY} 46 46 network 47 ${EN et_LIBRARY}47 ${ENET_LIBRARY} 48 48 ${ZLIB_LIBRARY} 49 49 )
Note: See TracChangeset
for help on using the changeset viewer.