equal
deleted
inserted
replaced
44 time_measure_test |
44 time_measure_test |
45 unionfind_test |
45 unionfind_test |
46 ) |
46 ) |
47 |
47 |
48 IF(LEMON_HAVE_LP) |
48 IF(LEMON_HAVE_LP) |
49 ADD_EXECUTABLE(lp_test lp_test.cc) |
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 SET(LP_TEST_LIBS lemon) |
55 SET(LP_TEST_LIBS lemon) |
51 |
56 |
52 IF(LEMON_HAVE_GLPK) |
57 IF(LEMON_HAVE_GLPK) |
53 SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${GLPK_LIBRARIES}) |
58 SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${GLPK_LIBRARIES}) |
54 ENDIF() |
59 ENDIF() |
80 ) |
85 ) |
81 ENDIF() |
86 ENDIF() |
82 ENDIF() |
87 ENDIF() |
83 |
88 |
84 IF(LEMON_HAVE_MIP) |
89 IF(LEMON_HAVE_MIP) |
85 ADD_EXECUTABLE(mip_test mip_test.cc) |
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 SET(MIP_TEST_LIBS lemon) |
96 SET(MIP_TEST_LIBS lemon) |
87 |
97 |
88 IF(LEMON_HAVE_GLPK) |
98 IF(LEMON_HAVE_GLPK) |
89 SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${GLPK_LIBRARIES}) |
99 SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${GLPK_LIBRARIES}) |
90 ENDIF() |
100 ENDIF() |