Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 29, 2009, 11:11:45 PM (15 years ago)
Author:
rgrieder
Message:
  • Functionised CheckOGREPlugins.cmake
  • Updated LibraryConfigMSVC.cmake and LibraryConfigMinGW.cmake
  • Some more changes in LibraryConfig.cmake and BuildConfig.cmake
File:
1 edited

Legend:

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

    r2612 r2618  
    2727 
    2828###################### MSVC config ########################
    29 # Set the library directories and special options when
    30 # using Visual Studio.
    31 ###########################################################
     29# Set the library directories when using Visual Studio.   #
    3230
    33 IF (MSVC)
     31IF (MSVC AND LIBRARY_USE_PACKAGE_IF_SUPPORTED)
    3432  MESSAGE(STATUS "Running on MSVC. Using customized paths and options.")
    35 
    36   ###################### Libraries ########################
    3733
    3834  # Determine library directory
     
    4945  # Note: When setting ENV${} variables, make sure to use quotes when
    5046  #       having multiple directories.
    51   SET(ENV{BOOST_ROOT}        ${MSVC_LIBRARY_DIR}/boost-1.35.0)
     47  SET(BOOST_ROOT             ${MSVC_LIBRARY_DIR}/boost-1.35.0)
     48  SET(BOOST_LIBRARYDIR       ${MSVC_LIBRARY_DIR}/boost-1.35.0/lib)
    5249  SET(ENV{CEGUIDIR}          ${MSVC_LIBRARY_DIR}/cegui-0.6.1)
    5350  SET(ENV{ENETDIR}           ${MSVC_LIBRARY_DIR}/enet-1.2)
     
    5754  SET(ENV{OPENALDIR}         ${MSVC_LIBRARY_DIR}/openal-1.1)
    5855  SET(ENV{LUA_DIR}           ${MSVC_LIBRARY_DIR}/lua-5.1.3)
    59   SET(ENV{OGRE_HOME}        "${MSVC_LIBRARY_DIR}/ogre-1.4.9;${ORXONOX_LIBRARY_BIN_DIR}")
    60   SET(TCL_INCLUDE_PATH       ${MSVC_LIBRARY_DIR}/tcl-8.5.2/include)
    61   SET(TCL_LIBRARY            ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib)
    62   # Do some hacking to avoid "Tclsh not found" message
    63   SET(TCL_TCLSH              ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib)
     56  SET(ENV{OGRE_HOME}         ${MSVC_LIBRARY_DIR}/ogre-1.4.9)
     57  SET(ENV{OGRE_PLUGIN_DIR}   ${MSVC_LIBRARY_DIR}/bin)
     58  SET(TCL_INCLUDE_PATH       ${MSVC_LIBRARY_DIR}/tcl-8.5.5/include)
     59  SET(TCL_LIBRARY            ${MSVC_LIBRARY_DIR}/tcl-8.5.5/lib/tcl85.lib)
    6460  SET(ZLIB_INCLUDE_DIR       ${MSVC_LIBRARY_DIR}/zlib-1.2.3/include)
    6561  SET(ZLIB_LIBRARY optimized ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib.lib
    6662                   debug     ${MSVC_LIBRARY_DIR}/zlib-1.2.3/lib/zlib_d.lib)
    67   SET(ZLIB_FOUND TRUE)
     63  IF ($ENV{DXSDK_DIR} STREQUAL "")
     64    SET(ENV{DXSDK_DIR}       ${MSVC_LIBRARY_DIR}/directx-sdk-aug-2007)
     65  ENDIF ($ENV{DXSDK_DIR} STREQUAL "")
    6866
    69   ######################### Misc ##########################
    70 
    71   # Set tolua working directory because lua.dll is not where tolua is
    72   SET(TOLUA_PARSER_WORKING_DIRECTORY ${ORXONOX_LIBRARY_BIN_DIR})
    73 ENDIF (MSVC)
     67ENDIF (MSVC AND LIBRARY_USE_PACKAGE_IF_SUPPORTED)
Note: See TracChangeset for help on using the changeset viewer.