Changeset 2594
- Timestamp:
- Jan 12, 2009, 10:23:01 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/ConfigMSVC.cmake
r2590 r2594 60 60 SET(TCL_INCLUDE_PATH ${MSVC_LIBRARY_DIR}/tcl-8.5.2/include) 61 61 SET(TCL_LIBRARY ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib) 62 SET(TCL_FOUND TRUE)63 62 # Do some hacking to avoid "Tclsh not found" message 64 63 SET(TCL_TCLSH ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib) 65 SET(TCL_TCLSH_FOUND TRUE)66 64 SET(ZLIB_INCLUDE_DIR ${MSVC_LIBRARY_DIR}/zlib-1.2.3/include) 67 65 SET(ZLIB_LIBRARY optimized ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib.lib -
code/branches/buildsystem2/cmake/ConfigMinGW.cmake
r2590 r2594 51 51 SET(ENV{ALUTDIR} "${MINGW_LIBRARY_DIR}/freealut-1.1.0") 52 52 SET(ENV{OGGDIR} "${MINGW_LIBRARY_DIR}/libogg-1.1.3;${MINGW_LIBRARY_DIR}/libogg-1.1.3/src/.libs") 53 SET(ENV{VORBISDIR} "${MINGW_LIBRARY_DIR}/lib ogg-1.1.3;${MINGW_LIBRARY_DIR}/libvorbis-1.2.0/src/.libs")53 SET(ENV{VORBISDIR} "${MINGW_LIBRARY_DIR}/libvorbis-1.2.0;${MINGW_LIBRARY_DIR}/libvorbis-1.2.0/lib/.libs") 54 54 SET(ENV{OPENALDIR} "${MINGW_LIBRARY_DIR}/openal-0.0.8/common;${MINGW_LIBRARY_DIR}/openal-0.0.8/src/.libs") 55 55 SET(ENV{LUA_DIR} "${MINGW_LIBRARY_DIR}/lua-5.1.3") 56 56 SET(ENV{OGRE_HOME} "${MINGW_LIBRARY_DIR}/ogre/OgreMain;${MINGW_LIBRARY_DIR}/ogre/Samples/Common") 57 57 SET(TCL_INCLUDE_PATH "${MINGW_LIBRARY_DIR}/tcl8.5.2/generic") 58 SET(TCL_LIBRARY_PATH "${MINGW_LIBRARY_DIR}/tcl8.5.2/win/tcl85.dll") 58 SET(TCL_LIBRARY "${MINGW_LIBRARY_DIR}/tcl8.5.2/win/tcl85.dll") 59 # Do some hacking to avoid "Tclsh not found" message 60 SET(TCL_TCLSH "${MINGW_LIBRARY_DIR}/tcl8.5.2/win/tcl85.dll") 59 61 SET(ZLIB_INCLUDE_DIR "${MINGW_LIBRARY_DIR}/zlib/include") 60 62 SET(ZLIB_LIBRARY "${MINGW_LIBRARY_DIR}/zlib/libzlib.a") 61 IF ( NOT ENV{DXSDK_DIR})63 IF ($ENV{DXSDK_DIR} STREQUAL "") 62 64 SET(ENV{DXSDK_DIR} "${MINGW_LIBRARY_DIR}/DXSDK") 63 ENDIF ( NOT ENV{DXSDK_DIR})65 ENDIF ($ENV{DXSDK_DIR} STREQUAL "") 64 66 65 67 # MINGW doesn't like the -fPIC flag, reconfigure flags 66 SET(CMAKE_C_FLAGS "$ENV{CFLAGS} ${ORXONOX_WARNING_FLAGS )")67 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} ${ORXONOX_WARNING_FLAGS )")68 SET(CMAKE_C_FLAGS "$ENV{CFLAGS} ${ORXONOX_WARNING_FLAGS}") 69 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} ${ORXONOX_WARNING_FLAGS}") 68 70 69 71 # Also set the tolua working directory because lua.dll is not where tolua ia -
code/branches/buildsystem2/cmake/FindCEGUI.cmake
r2583 r2594 35 35 /usr/local 36 36 /usr 37 PATH_SUFFIXES lib 37 PATH_SUFFIXES lib bin 38 38 ) 39 39 FIND_LIBRARY(CEGUI_LIBRARY_DEBUG … … 43 43 /usr/local 44 44 /usr 45 PATH_SUFFIXES lib 45 PATH_SUFFIXES lib bin 46 46 ) 47 47 -
code/branches/buildsystem2/cmake/FindDirectX.cmake
r2583 r2594 29 29 ) 30 30 31 FIND_PACKAGE_HANDLE_STANDARD_ARGS(DirectX DEFAULT_MSG DirectX_INCLUDE_DIR DirectX_LIBRARY_1 DirectX_LIBRARY_2) 31 FIND_PACKAGE_HANDLE_STANDARD_ARGS(DirectX DEFAULT_MSG 32 DirectX_LIBRARY_1 33 DirectX_LIBRARY_2 34 DirectX_INCLUDE_DIR 35 ) 32 36 33 37 IF(DIRECTX_FOUND) -
code/branches/buildsystem2/cmake/FindOGRE.cmake
r2593 r2594 51 51 SET(CMAKE_FIND_LIBRARY_SUFFIXES .dll) 52 52 ENDIF(WIN32) 53 SET(CMAKE_FIND_LIBRARY_PREFIXES_STORED ${CMAKE_FIND_LIBRARY_PREFIXES})53 SET(CMAKE_FIND_LIBRARY_PREFIXES_STORED "${CMAKE_FIND_LIBRARY_PREFIXES}") 54 54 SET(CMAKE_FIND_LIBRARY_PREFIXES "") 55 55 -
code/branches/buildsystem2/cmake/FindOggVorbis.cmake
r2583 r2594 71 71 OGG_INCLUDE_DIR 72 72 ) 73 SET(VORBIS_FIND_REQUIRED ON) 73 74 FIND_PACKAGE_HANDLE_STANDARD_ARGS(VORBIS DEFAULT_MSG 74 75 VORBIS_LIBRARY_OPTIMIZED 75 76 VORBIS_INCLUDE_DIR 76 77 ) 78 SET(VORBISFILE_FIND_REQUIRED ON) 77 79 FIND_PACKAGE_HANDLE_STANDARD_ARGS(VORBISFILE DEFAULT_MSG 78 80 VORBISFILE_LIBRARY_OPTIMIZED -
code/branches/buildsystem2/src/ois/CMakeLists.txt
r2588 r2594 1 INCLUDE_DIRECTORIES(.)2 3 1 SET( OIS_SRC_FILES 4 2 OISEffect.cpp
Note: See TracChangeset
for help on using the changeset viewer.