# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1288175459 -7200
# Node ID 48e29534cf032c7fa16bbddbe6123034b43fefec
# Parent 10242c6111900376d7d913923eaf94f61b13d05c
The deafult target doesn't build lp_test and mip_test (#388)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
a
|
b
|
|
46 | 46 | ) |
47 | 47 | |
48 | 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 | 55 | SET(LP_TEST_LIBS lemon) |
51 | 56 | |
52 | 57 | IF(LEMON_HAVE_GLPK) |
… |
… |
|
82 | 87 | ENDIF() |
83 | 88 | |
84 | 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 | 96 | SET(MIP_TEST_LIBS lemon) |
87 | 97 | |
88 | 98 | IF(LEMON_HAVE_GLPK) |