COIN-OR::LEMON - Graph Library

Changeset 897:e20fecd1945f in lemon-main for test


Ignore:
Timestamp:
08/25/10 21:34:58 (14 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Phase:
public
Message:

Add check target for CMake (#388)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/CMakeLists.txt

    r874 r897  
    118118
    119119FOREACH(TEST_NAME ${TESTS})
    120   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
     120  ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc)
    121121  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    122122  ADD_TEST(${TEST_NAME} ${TEST_NAME})
     123  ADD_DEPENDENCIES(check ${TEST_NAME})
    123124ENDFOREACH()
Note: See TracChangeset for help on using the changeset viewer.