Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2594


Ignore:
Timestamp:
Jan 12, 2009, 10:23:01 PM (16 years ago)
Author:
rgrieder
Message:

MinGW is able to find all the necessary libraries. However compiling does not work.

Location:
code/branches/buildsystem2
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/ConfigMSVC.cmake

    r2590 r2594  
    6060  SET(TCL_INCLUDE_PATH       ${MSVC_LIBRARY_DIR}/tcl-8.5.2/include)
    6161  SET(TCL_LIBRARY            ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib)
    62   SET(TCL_FOUND TRUE)
    6362  # Do some hacking to avoid "Tclsh not found" message
    6463  SET(TCL_TCLSH              ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib)
    65   SET(TCL_TCLSH_FOUND TRUE)
    6664  SET(ZLIB_INCLUDE_DIR       ${MSVC_LIBRARY_DIR}/zlib-1.2.3/include)
    6765  SET(ZLIB_LIBRARY optimized ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib.lib
  • code/branches/buildsystem2/cmake/ConfigMinGW.cmake

    r2590 r2594  
    5151  SET(ENV{ALUTDIR}       "${MINGW_LIBRARY_DIR}/freealut-1.1.0")
    5252  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}/libogg-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")
    5454  SET(ENV{OPENALDIR}     "${MINGW_LIBRARY_DIR}/openal-0.0.8/common;${MINGW_LIBRARY_DIR}/openal-0.0.8/src/.libs")
    5555  SET(ENV{LUA_DIR}       "${MINGW_LIBRARY_DIR}/lua-5.1.3")
    5656  SET(ENV{OGRE_HOME}     "${MINGW_LIBRARY_DIR}/ogre/OgreMain;${MINGW_LIBRARY_DIR}/ogre/Samples/Common")
    5757  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")
    5961  SET(ZLIB_INCLUDE_DIR   "${MINGW_LIBRARY_DIR}/zlib/include")
    6062  SET(ZLIB_LIBRARY       "${MINGW_LIBRARY_DIR}/zlib/libzlib.a")
    61   IF (NOT ENV{DXSDK_DIR})
     63  IF ($ENV{DXSDK_DIR} STREQUAL "")
    6264    SET(ENV{DXSDK_DIR} "${MINGW_LIBRARY_DIR}/DXSDK")
    63   ENDIF (NOT ENV{DXSDK_DIR})
     65  ENDIF ($ENV{DXSDK_DIR} STREQUAL "")
    6466
    6567  # 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}")
    6870
    6971  # Also set the tolua working directory because lua.dll is not where tolua ia
  • code/branches/buildsystem2/cmake/FindCEGUI.cmake

    r2583 r2594  
    3535    /usr/local
    3636    /usr
    37     PATH_SUFFIXES lib
     37    PATH_SUFFIXES lib bin
    3838)
    3939FIND_LIBRARY(CEGUI_LIBRARY_DEBUG
     
    4343    /usr/local
    4444    /usr
    45     PATH_SUFFIXES lib
     45    PATH_SUFFIXES lib bin
    4646)
    4747
  • code/branches/buildsystem2/cmake/FindDirectX.cmake

    r2583 r2594  
    2929  )
    3030
    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  )
    3236
    3337  IF(DIRECTX_FOUND)
  • code/branches/buildsystem2/cmake/FindOGRE.cmake

    r2593 r2594  
    5151    SET(CMAKE_FIND_LIBRARY_SUFFIXES .dll)
    5252ENDIF(WIN32)
    53 SET(CMAKE_FIND_LIBRARY_PREFIXES_STORED ${CMAKE_FIND_LIBRARY_PREFIXES})
     53SET(CMAKE_FIND_LIBRARY_PREFIXES_STORED "${CMAKE_FIND_LIBRARY_PREFIXES}")
    5454SET(CMAKE_FIND_LIBRARY_PREFIXES "")
    5555
  • code/branches/buildsystem2/cmake/FindOggVorbis.cmake

    r2583 r2594  
    7171  OGG_INCLUDE_DIR
    7272)
     73SET(VORBIS_FIND_REQUIRED ON)
    7374FIND_PACKAGE_HANDLE_STANDARD_ARGS(VORBIS DEFAULT_MSG
    7475  VORBIS_LIBRARY_OPTIMIZED
    7576  VORBIS_INCLUDE_DIR
    7677)
     78SET(VORBISFILE_FIND_REQUIRED ON)
    7779FIND_PACKAGE_HANDLE_STANDARD_ARGS(VORBISFILE DEFAULT_MSG
    7880  VORBISFILE_LIBRARY_OPTIMIZED
  • code/branches/buildsystem2/src/ois/CMakeLists.txt

    r2588 r2594  
    1 INCLUDE_DIRECTORIES(.)
    2 
    31SET( OIS_SRC_FILES
    42  OISEffect.cpp
Note: See TracChangeset for help on using the changeset viewer.