Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2009, 12:27:17 PM (16 years ago)
Author:
rgrieder
Message:
  • Fixed FindDirectX for use with CMake 2.6.0 (2.6.2 worked without problems). The script was finding the dlls in system32 instead of the libs in the DXSDK_DIR when configuring MinGW.
  • Small fix in ceguilua CMLs
  • CMake 2.6.0 fix when specifying BOOST_ROOT
Location:
code/branches/buildsystem2
Files:
3 edited

Legend:

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

    r2616 r2623  
    1212
    1313FIND_PATH(DIRECTX_INCLUDE_DIR dinput.h
    14   PATHS
    15   $ENV{DXSDK_DIR}
     14  PATHS $ENV{DXSDK_DIR}
    1615  PATH_SUFFIXES include
    1716)
    1817FIND_LIBRARY(DIRECTX_LIBRARY_input dinput8
    19   PATHS
    20   $ENV{DXSDK_DIR}
     18  PATHS $ENV{DXSDK_DIR}
     19  PATH_SUFFIXES lib Lib lib/x86 Lib/x86
     20  NO_DEFAULT_PATH # Or else CMake 2.6.0 will find the dll in system32 on windows
     21)
     22FIND_LIBRARY(DIRECTX_LIBRARY_input dinput8
     23  PATHS $ENV{DXSDK_DIR}
    2124  PATH_SUFFIXES lib Lib lib/x86 Lib/x86
    2225)
    2326FIND_LIBRARY(DIRECTX_LIBRARY_guid dxguid
    24   PATHS
    25   $ENV{DXSDK_DIR}
     27  PATHS $ENV{DXSDK_DIR}
     28  PATH_SUFFIXES lib Lib lib/x86 Lib/x86
     29  NO_DEFAULT_PATH # Or else CMake 2.6.0 will find the dll in system32 on windows
     30)
     31FIND_LIBRARY(DIRECTX_LIBRARY_guid dxguid
     32  PATHS $ENV{DXSDK_DIR}
    2633  PATH_SUFFIXES lib Lib lib/x86 Lib/x86
    2734)
  • code/branches/buildsystem2/cmake/LibraryConfigMSVC.cmake

    r2621 r2623  
    4545  # Note: When setting ENV${} variables, make sure to use quotes when
    4646  #       having multiple directories.
    47   SET(BOOST_ROOT             ${MSVC_LIBRARY_DIR}/boost-1.35.0)
    48   SET(BOOST_LIBRARYDIR       ${MSVC_LIBRARY_DIR}/boost-1.35.0/lib)
     47  SET(ENV{BOOST_ROOT}        ${MSVC_LIBRARY_DIR}/boost-1.35.0)
    4948  SET(ENV{CEGUIDIR}          ${MSVC_LIBRARY_DIR}/cegui-0.6.1)
    5049  SET(ENV{ENETDIR}           ${MSVC_LIBRARY_DIR}/enet-1.2)
  • code/branches/buildsystem2/src/ceguilua/CMakeLists.txt

    r2621 r2623  
    2828ADD_CUSTOM_COMMAND(
    2929  OUTPUT ${CEGUILUA_BINARY_DIR}/lua_CEGUI.cpp
    30   COMMAND tolua++gen_orxonox -n CEGUI
     30  COMMAND tolua++app_orxonox -n CEGUI
    3131                             -w ${CEGUILUA_BINARY_DIR}
    3232                             -o lua_CEGUI.cpp
Note: See TracChangeset for help on using the changeset viewer.