COIN-OR::LEMON - Graph Library

Changeset 905:d149eaf24638 in lemon-1.2 for test


Ignore:
Timestamp:
03/04/11 10:40:44 (8 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
1.2
Parents:
902:79fab87ee483 (diff), 904:16d466589b54 (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 CMAKE backports to branch 1.2

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/CMakeLists.txt

    r874 r905  
    4646
    4747IF(LEMON_HAVE_LP)
    48   ADD_EXECUTABLE(lp_test lp_test.cc)
     48  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
     49    ADD_EXECUTABLE(lp_test lp_test.cc)
     50  ELSE()
     51    ADD_EXECUTABLE(lp_test EXCLUDE_FROM_ALL lp_test.cc)
     52  ENDIF()
     53
    4954  SET(LP_TEST_LIBS lemon)
    5055
     
    8287
    8388IF(LEMON_HAVE_MIP)
    84   ADD_EXECUTABLE(mip_test mip_test.cc)
     89  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
     90    ADD_EXECUTABLE(mip_test mip_test.cc)
     91  ELSE()
     92    ADD_EXECUTABLE(mip_test EXCLUDE_FROM_ALL mip_test.cc)
     93  ENDIF()
     94
    8595  SET(MIP_TEST_LIBS lemon)
    8696
     
    118128
    119129FOREACH(TEST_NAME ${TESTS})
    120   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
     130  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
     131    ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
     132  ELSE()
     133    ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc)
     134  ENDIF()
    121135  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    122136  ADD_TEST(${TEST_NAME} ${TEST_NAME})
     137  ADD_DEPENDENCIES(check ${TEST_NAME})
    123138ENDFOREACH()
  • test/CMakeLists.txt

    r904 r905  
    1010SET(TESTS
    1111  adaptors_test
     12  bellman_ford_test
    1213  bfs_test
    1314  circulation_test
     
    2122  error_test
    2223  euler_test
     24  fractional_matching_test
    2325  gomory_hu_test
    2426  graph_copy_test
     
    3234  min_cost_arborescence_test
    3335  min_cost_flow_test
     36  min_mean_cycle_test
    3437  path_test
     38  planarity_test
    3539  preflow_test
    3640  radix_sort_test
Note: See TracChangeset for help on using the changeset viewer.