gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
The deafult target doesn't build lp_test and mip_test (#388)
0 1 0
default
1 file changed with 10 insertions and 0 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -46,7 +46,12 @@
46 46
)
47 47

	
48 48
IF(LEMON_HAVE_LP)
49
  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
49 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,7 +87,12 @@
82 87
ENDIF()
83 88

	
84 89
IF(LEMON_HAVE_MIP)
90
  IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer")
85 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)
0 comments (0 inline)