Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 1:33:55 PM (15 years ago)
Author:
rgrieder
Message:
  • Use $ENV{BOOST_ROOT} to find boost if possible
  • Set TOLUA_PARSER_WORKING_DIRECTORY now defaults to ${CMAKE_RUNTIME_OUTPUT_PATH}
  • Added bin/release, bin/debug, release and debug to the Ogre library prefix paths
  • Lots of small fixes and changes
File:
1 edited

Legend:

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

    r2582 r2583  
    4242    MESSAGE(FATAL_ERROR "Could not find dependency directory for the Visual Studio libraries")
    4343  ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/dependencies/orxonox_vc8)
    44   MARK_AS_ADVANCED(MSVC_LIBRARY_DIR)
    4544
    4645  # Set variables for the include directories and the libraries
    47   SET(BOOST_INCLUDEDIR       ${MSVC_LIBRARY_DIR}/boost-1.35.0/include)
    48   SET(BOOST_LIBRARYDIR       ${MSVC_LIBRARY_DIR}/boost-1.35.0/lib)
     46  # Note: When setting ENV${} variables, make sure to use quotes when
     47  #       having multiple directories.
     48  SET(ENV{BOOST_ROOT}        ${MSVC_LIBRARY_DIR}/boost-1.35.0)
    4949  SET(ENV{CEGUIDIR}          ${MSVC_LIBRARY_DIR}/cegui-0.6.1)
    5050  SET(ENV{ENETDIR}           ${MSVC_LIBRARY_DIR}/enet-1.2)
     
    6262  SET(TCL_TCLSH_FOUND TRUE)
    6363  SET(ZLIB_INCLUDE_DIR       ${MSVC_LIBRARY_DIR}/zlib-1.2.3/include)
    64   SET(ZLIB_LIBRARY OPTIMIZED ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib.lib
    65                    DEBUG     ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib_d.lib)
     64  SET(ZLIB_LIBRARY optimized ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib.lib
     65                   debug     ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib_d.lib)
    6666  SET(ZLIB_FOUND TRUE)
    6767
     
    8585  SET(CMAKE_SHARED_LINKER_FLAGS " --no-undefined")
    8686  SET(CMAKE_MODULE_LINKER_FLAGS " --no-undefined")
     87
     88  ######################### Misc ##########################
     89
     90  # Set tolua working directory because lua.dll is not where tolua is
     91  SET(TOLUA_PARSER_WORKING_DIRECTORY ${MSVC_LIBRARY_DIR}/bin)
    8792ENDIF (MSVC)
Note: See TracChangeset for help on using the changeset viewer.