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/src/orxonox/CMakeLists.txt

    r2621 r2624  
    2727
    2828IF(NETWORKTRAFFIC_TESTING_ENABLED)
    29 
    3029  SET(ORXONOXS_SRC_FILES
    3130    GraphicsEngine.cc
     
    3332    CameraManager.cc
    3433  )
    35 
    3634  ADD_LIBRARY(orxonoxs SHARED ${ORXONOXS_SRC_FILES})
    3735ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
     
    6159  IF(CMAKE_CL_64)
    6260    SET(MSVC_PLATFORM "x64")
    63   ELSE(CMAKE_CL_64)
     61  ELSE()
    6462    SET(MSVC_PLATFORM "Win32")
    65   ENDIF(CMAKE_CL_64)
     63  ENDIF()
    6664  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox.vcproj.user" "${CMAKE_CURRENT_BINARY_DIR}/orxonox.vcproj.user")
    6765ENDIF(MSVC)
    6866
    69 IF (NOT WIN32)
     67IF(NOT WIN32)
    7068  INSTALL(TARGETS orxonox RUNTIME DESTINATION bin)
    71 ENDIF (NOT WIN32)
     69ENDIF()
Note: See TracChangeset for help on using the changeset viewer.