test/CMakeLists.txt
changeset 1026 9312d6c89d02
parent 1020 70bee017b584
parent 1018 35ba7236bd67
child 1040 8e39ccaabf48
child 1203 07682e24c4e8
equal deleted inserted replaced
50:94f54bcc7373 51:d15751f43978
    34   max_cardinality_search_test
    34   max_cardinality_search_test
    35   max_clique_test
    35   max_clique_test
    36   min_cost_arborescence_test
    36   min_cost_arborescence_test
    37   min_cost_flow_test
    37   min_cost_flow_test
    38   min_mean_cycle_test
    38   min_mean_cycle_test
       
    39   nagamochi_ibaraki_test
    39   path_test
    40   path_test
    40   planarity_test
    41   planarity_test
    41   preflow_test
    42   preflow_test
    42   radix_sort_test
    43   radix_sort_test
    43   random_test
    44   random_test
    45   time_measure_test
    46   time_measure_test
    46   unionfind_test
    47   unionfind_test
    47 )
    48 )
    48 
    49 
    49 IF(LEMON_HAVE_LP)
    50 IF(LEMON_HAVE_LP)
    50   ADD_EXECUTABLE(lp_test lp_test.cc)
    51   IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
       
    52     ADD_EXECUTABLE(lp_test lp_test.cc)
       
    53   ELSE()
       
    54     ADD_EXECUTABLE(lp_test EXCLUDE_FROM_ALL lp_test.cc)
       
    55   ENDIF()
       
    56 
    51   SET(LP_TEST_LIBS lemon)
    57   SET(LP_TEST_LIBS lemon)
    52 
    58 
    53   IF(LEMON_HAVE_GLPK)
    59   IF(LEMON_HAVE_GLPK)
    54     SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${GLPK_LIBRARIES})
    60     SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${GLPK_LIBRARIES})
    55   ENDIF()
    61   ENDIF()
    81     )
    87     )
    82   ENDIF()
    88   ENDIF()
    83 ENDIF()
    89 ENDIF()
    84 
    90 
    85 IF(LEMON_HAVE_MIP)
    91 IF(LEMON_HAVE_MIP)
    86   ADD_EXECUTABLE(mip_test mip_test.cc)
    92   IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
       
    93     ADD_EXECUTABLE(mip_test mip_test.cc)
       
    94   ELSE()
       
    95     ADD_EXECUTABLE(mip_test EXCLUDE_FROM_ALL mip_test.cc)
       
    96   ENDIF()
       
    97 
    87   SET(MIP_TEST_LIBS lemon)
    98   SET(MIP_TEST_LIBS lemon)
    88 
    99 
    89   IF(LEMON_HAVE_GLPK)
   100   IF(LEMON_HAVE_GLPK)
    90     SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${GLPK_LIBRARIES})
   101     SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${GLPK_LIBRARIES})
    91   ENDIF()
   102   ENDIF()