Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 8, 2009, 9:37:41 PM (15 years ago)
Author:
rgrieder
Message:
  • Equipped find scripts with debug/optimized functions. If you have different debug prefixes on your platform simply change ${LIBRARY_DEBUG_POSTFIX} ("_d" default).
  • Clean up in ConfigMSVC.cmake and ConfigMinGW.cmake
  • Also had a good look at the MinGW libraries according to the libs_1889_mingw.zip (no warranty at all, hope I got them all)
  • INSTALL commands are currently limited to non Windows platforms (don't yet know why it doesn't work)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/CMakeLists.txt

    r2574 r2579  
    1111SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
    1212
    13 # Check for special include paths
    14 INCLUDE(ConfigTardis)
    15 INCLUDE(ConfigMinGW)
     13# Configre special platforms if required
     14INCLUDE(ConfigPlatforms)
    1615
    1716################ Test options ###################
     
    5655############### Library finding #################
    5756
     57INCLUDE(FindPackageHandleStandardArgs)
     58INCLUDE(HandleLibraryTypes)
     59
    5860# Performs the search and sets the variables
    5961FIND_PACKAGE(OGRE REQUIRED)
     
    8183STRING(REGEX REPLACE "^.*\"Lua (.*)\".*$" "\\1" LUA_VERSION "${LUA_VERSION}")
    8284
    83 # Don't require the whole tcl rat tail
     85# QUIET: Don't require the whole tcl rat tail
    8486FIND_PACKAGE(TCL QUIET)
    8587IF(NOT TCL_FOUND)
    86     MESSAGE(FATAL_ERROR "Tcl not found.")
     88    MESSAGE(FATAL_ERROR "Tcl was not found.")
    8789ENDIF(NOT TCL_FOUND)
     90
     91# Hide variables created by CMake FindXX scripts
     92MARK_AS_ADVANCED(
     93    LUA_LIBRARY_lua
     94    LUA_LIBRARY_lualib
     95    OPENAL_INCLUDE_DIR
     96    OPENAL_LIBRARY
     97)
    8898
    8999# Add main source dir
Note: See TracChangeset for help on using the changeset viewer.