Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2009, 12:48:20 PM (16 years ago)
Author:
rgrieder
Message:

Replaced most of the ELSE(…) and ENDIF(…) with ELSE() and ENDIF(). Kept the shorter and the spreaded ones for better clarity since that's what it originally was thought for. But I can really pollute the code when having long conditions and lots of IFs.

File:
1 edited

Legend:

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

    r2621 r2624  
    3131###################################################
    3232
    33 IF (MINGW AND LIBRARY_USE_PACKAGE_IF_SUPPORTED)
     33IF(MINGW AND LIBRARY_USE_PACKAGE_IF_SUPPORTED)
    3434  MESSAGE(STATUS "Running on MinGW. Using customized paths and options.")
    3535
     
    3939  ELSEIF(EXISTS ${CMAKE_SOURCE_DIR}/../lis)
    4040    SET(MINGW_LIBRARY_DIR "${CMAKE_SOURCE_DIR}/../libs")
    41   ELSE(EXISTS ${CMAKE_SOURCE_DIR}/libs)
     41  ELSE()
    4242    MESSAGE(FATAL_ERROR "Could not find dependency directory for the MinGW libraries")
    43   ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/libs)
     43  ENDIF()
    4444  SET(ORXONOX_RUNTIME_LIBRARY_DIRECTORY ${MINGW_LIBRARY_DIR})
    4545
     
    6464  SET(ZLIB_LIBRARY          "${MINGW_LIBRARY_DIR}/zlib/libzlib.a")
    6565  SET(LINK_ZLIB_DYNAMIC    FALSE)
    66   IF ($ENV{DXSDK_DIR} STREQUAL "")
     66  IF($ENV{DXSDK_DIR} STREQUAL "")
    6767    SET(ENV{DXSDK_DIR}      "${MINGW_LIBRARY_DIR}/DXSDK")
    68   ENDIF ($ENV{DXSDK_DIR} STREQUAL "")
    69 ENDIF (MINGW AND LIBRARY_USE_PACKAGE_IF_SUPPORTED)
     68  ENDIF()
     69ENDIF(MINGW AND LIBRARY_USE_PACKAGE_IF_SUPPORTED)
Note: See TracChangeset for help on using the changeset viewer.