... | ... |
@@ -43,13 +43,18 @@ |
43 | 43 |
suurballe_test |
44 | 44 |
time_measure_test |
45 | 45 |
unionfind_test |
46 | 46 |
) |
47 | 47 |
|
48 | 48 |
IF(LEMON_HAVE_LP) |
49 |
|
|
49 |
IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") |
|
50 |
ADD_EXECUTABLE(lp_test lp_test.cc) |
|
51 |
ELSE() |
|
52 |
ADD_EXECUTABLE(lp_test EXCLUDE_FROM_ALL lp_test.cc) |
|
53 |
ENDIF() |
|
54 |
|
|
50 | 55 |
SET(LP_TEST_LIBS lemon) |
51 | 56 |
|
52 | 57 |
IF(LEMON_HAVE_GLPK) |
53 | 58 |
SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${GLPK_LIBRARIES}) |
54 | 59 |
ENDIF() |
55 | 60 |
IF(LEMON_HAVE_CPLEX) |
... | ... |
@@ -79,13 +84,18 @@ |
79 | 84 |
COMMAND ${CMAKE_COMMAND} -E copy ${CPLEX_BIN_DIR}/cplex91.dll ${TARGET_PATH} |
80 | 85 |
) |
81 | 86 |
ENDIF() |
82 | 87 |
ENDIF() |
83 | 88 |
|
84 | 89 |
IF(LEMON_HAVE_MIP) |
85 |
|
|
90 |
IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") |
|
91 |
ADD_EXECUTABLE(mip_test mip_test.cc) |
|
92 |
ELSE() |
|
93 |
ADD_EXECUTABLE(mip_test EXCLUDE_FROM_ALL mip_test.cc) |
|
94 |
ENDIF() |
|
95 |
|
|
86 | 96 |
SET(MIP_TEST_LIBS lemon) |
87 | 97 |
|
88 | 98 |
IF(LEMON_HAVE_GLPK) |
89 | 99 |
SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${GLPK_LIBRARIES}) |
90 | 100 |
ENDIF() |
91 | 101 |
IF(LEMON_HAVE_CPLEX) |
0 comments (0 inline)