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

    r2621 r2624  
    2222IF(MINGW)
    2323  ADD_LIBRARY(network ${NETWORK_FILES})
    24 ELSE(MINGW)
     24ELSE()
    2525  ADD_LIBRARY(network SHARED ${NETWORK_FILES})
    26 ENDIF(MINGW)
     26ENDIF()
    2727
    2828SET_TARGET_PROPERTIES(network PROPERTIES DEFINE_SYMBOL "NETWORK_SHARED_BUILD")
     
    3535)
    3636
    37 IF (NOT WIN32)
     37IF(NOT WIN32)
    3838  INSTALL(TARGETS network LIBRARY DESTINATION lib)
    39 ENDIF (NOT WIN32)
     39ENDIF()
    4040
    4141# build those parts only on request.
    4242IF(NETWORK_TESTING_ENABLED)
    4343  ##### test for gamestate stuff #####
    44   SET( TEST_SRC_FILES
     44  SET(TEST_SRC_FILES
    4545    ${NETWORK_SRC_FILES}
    4646  )
    4747  ADD_EXECUTABLE(networktest ${TEST_SRC_FILES})
    48   TARGET_LINK_LIBRARIES( networktest
     48  TARGET_LINK_LIBRARIES(networktest
    4949    ${OGRE_LIBRARY}
    5050    network
Note: See TracChangeset for help on using the changeset viewer.