equal
deleted
inserted
replaced
11 "Run the test with valgrind (YES/NO).") |
11 "Run the test with valgrind (YES/NO).") |
12 SET(VALGRIND_FLAGS "" CACHE STRING "Valgrind flags used by the tests.") |
12 SET(VALGRIND_FLAGS "" CACHE STRING "Valgrind flags used by the tests.") |
13 |
13 |
14 SET(TESTS |
14 SET(TESTS |
15 adaptors_test |
15 adaptors_test |
|
16 arc_look_up_test |
16 bellman_ford_test |
17 bellman_ford_test |
17 bfs_test |
18 bfs_test |
18 circulation_test |
19 circulation_test |
19 connectivity_test |
20 connectivity_test |
20 counter_test |
21 counter_test |
84 |
85 |
85 IF(WIN32 AND LEMON_HAVE_CPLEX) |
86 IF(WIN32 AND LEMON_HAVE_CPLEX) |
86 GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) |
87 GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) |
87 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
88 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
88 ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD |
89 ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD |
89 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH} |
90 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH} |
90 ) |
91 ) |
91 ENDIF() |
92 ENDIF() |
92 ENDIF() |
93 ENDIF() |
93 |
94 |
94 IF(LEMON_HAVE_MIP) |
95 IF(LEMON_HAVE_MIP) |
126 |
127 |
127 IF(WIN32 AND LEMON_HAVE_CPLEX) |
128 IF(WIN32 AND LEMON_HAVE_CPLEX) |
128 GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION) |
129 GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION) |
129 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
130 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) |
130 ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD |
131 ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD |
131 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH} |
132 COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex.dll ${TARGET_PATH} |
132 ) |
133 ) |
133 ENDIF() |
134 ENDIF() |
134 ENDIF() |
135 ENDIF() |
135 |
136 |
136 FOREACH(TEST_NAME ${TESTS}) |
137 FOREACH(TEST_NAME ${TESTS}) |