COIN-OR::LEMON - Graph Library

Changeset 905:de428ebb47ab in lemon-main for test/CMakeLists.txt


Ignore:
Timestamp:
09/12/10 08:32:46 (14 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Parents:
903:3ffd46dc8e01 (diff), 904:c279b19abc62 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

Merge #380

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/CMakeLists.txt

    r901 r905  
    3232  maps_test
    3333  matching_test
     34  max_clique_test
    3435  min_cost_arborescence_test
    3536  min_cost_flow_test
  • test/CMakeLists.txt

    r904 r905  
    119119
    120120FOREACH(TEST_NAME ${TESTS})
    121   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
     121  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
     122    ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
     123  ELSE()
     124    ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc)
     125  ENDIF()
    122126  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    123127  ADD_TEST(${TEST_NAME} ${TEST_NAME})
     128  ADD_DEPENDENCIES(check ${TEST_NAME})
    124129ENDFOREACH()
Note: See TracChangeset for help on using the changeset viewer.