Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 115 for code/trunk


Ignore:
Timestamp:
Oct 28, 2007, 11:26:54 PM (17 years ago)
Author:
anonymous
Message:

-m "cmake für windows angepasst"

Location:
code/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/FindCEGUI.cmake

    r114 r115  
    2020ENDIF (CEGUI_LIBRARIES AND CEGUI_INCLUDE_DIR)
    2121
    22 # TODO: test wondows part.
    23 # windows part currently untested. (28.>Oct2007)
    2422IF (WIN32) #Windows
    2523    MESSAGE(STATUS "Looking for CEGUI")
    26     SET(CEGUISDK $ENV{CEGUI_HOME})
    27     STRING(REGEX REPLACE "[\\]" "/" CEGUISDK "${CEGUISDK}" )
    28     SET(CEGUI_INCLUDE_DIR ${CEGUISDK}/include)
    29     SET(CEGUI_LIB_DIR ${CEGUISDK}/lib)
    30     SET(CEGUI_LIBRARIES debug OgreMain_d optimized OgreMain)
     24    SET(CEGUI_INCLUDE_DIR ../ogre/Dependencies/include/CEGUI)
     25    SET(CEGUI_LIB_DIR ../ogre/Samples/Common/bin/Release/lib)
     26    SET(CEGUI_LIBRARIES debug CEGUIBase optimized CEGUIBase)
    3127ELSE (WIN32) #Unix
    3228    FIND_PACKAGE(PkgConfig)
  • code/trunk/cmake/FindCEGUI_OGRE.cmake

    r114 r115  
    2020ENDIF (CEGUI_OGRE_LIBRARIES AND CEGUI_OGRE_INCLUDE_DIR)
    2121
    22 ## TODO: test windows part
    23 # windows part is currently untested. (28.Oct.2007)
    2422IF (WIN32) #Windows
    2523    MESSAGE(STATUS "Looking for CEGUI_OGRE")
    26     SET(CEGUI_OGRESDK $ENV{CEGUI_OGRE_HOME})
    27     STRING(REGEX REPLACE "[\\]" "/" CEGUI_OGRESDK "${CEGUI_OGRESDK}" )
    28     SET(CEGUI_OGRE_INCLUDE_DIR ${CEGUI_OGRESDK}/include)
    29     SET(CEGUI_OGRE_LIB_DIR ${CEGUI_OGRESDK}/lib)
    30     SET(CEGUI_OGRE_LIBRARIES debug OgreMain_d optimized OgreMain)
     24    SET(CEGUI_OGRE_INCLUDE_DIR ../ogre/Dependencies/include/CEGUI)
     25    SET(CEGUI_OGRE_LIB_DIR ../ogre/Samples/Common/bin/Release/lib)
     26    SET(CEGUI_OGRE_LIBRARIES debug CEGUIBase optimized CEGUIBase)
    3127ELSE (WIN32) #Unix
    3228    FIND_PACKAGE(PkgConfig)
  • code/trunk/cmake/FindOGRE.cmake

    r91 r115  
    1818IF (WIN32) #Windows
    1919    MESSAGE(STATUS "Looking for OGRE")
    20     SET(OGRESDK $ENV{OGRE_HOME})
    21     STRING(REGEX REPLACE "[\\]" "/" OGRESDK "${OGRESDK}" )
    22     SET(OGRE_INCLUDE_DIR ${OGRESDK}/include)
    23     SET(OGRE_LIB_DIR ${OGRESDK}/lib)
     20    SET(OGRE_INCLUDE_DIR ../ogre/OgreMain/include)
     21    SET(OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ogre/Samples/Common/bin/Release)
    2422    SET(OGRE_LIBRARIES debug OgreMain_d optimized OgreMain)
    2523ELSE (WIN32) #Unix
  • code/trunk/cmake/FindOIS.cmake

    r114 r115  
    2020ENDIF (OIS_LIBRARIES AND OIS_INCLUDE_DIR)
    2121
    22 ## TODO: test windows part
    23 # windows part is currently untested. (28.Oct.2007)
    2422IF (WIN32) #Windows
    2523    MESSAGE(STATUS "Looking for OIS")
    26     SET(OISSDK $ENV{OIS_HOME})
    27     STRING(REGEX REPLACE "[\\]" "/" OISSDK "${OISSDK}" )
    28     SET(OIS_INCLUDE_DIR ${OISSDK}/include)
    29     SET(OIS_LIB_DIR ${OISSDK}/lib)
    30     #SET(OIS_LIBRARIES debug OgreMain_d optimized OgreMain)
     24    SET(OIS_INCLUDE_DIR ../ogre/Dependencies/include)
     25    SET(OIS_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../ogre/Samples/Common/bin/Release)
     26    SET(OIS_LIBRARIES debug OIS_d optimized OIS)
    3127ELSE (WIN32) #Unix
    3228    FIND_PACKAGE(PkgConfig)
Note: See TracChangeset for help on using the changeset viewer.