COIN-OR::LEMON - Graph Library

Changeset 901:63e4468c680e in lemon-main for test


Ignore:
Timestamp:
09/10/10 12:04:38 (14 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Add 'Maintainer' CMAKE build type (#388, #390)

  • some extra warning and debug options
  • build stops on warning (-Werror)
  • tests are built and run by default
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/CMakeLists.txt

    r897 r901  
    118118
    119119FOREACH(TEST_NAME ${TESTS})
    120   ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc)
     120  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
     121    ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
     122  ELSE()
     123    ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc)
     124  ENDIF()
    121125  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    122126  ADD_TEST(${TEST_NAME} ${TEST_NAME})
Note: See TracChangeset for help on using the changeset viewer.