COIN-OR::LEMON - Graph Library

Changeset 909:48e29534cf03 in lemon-main


Ignore:
Timestamp:
10/27/10 12:30:59 (14 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

The deafult target doesn't build lp_test and mip_test (#388)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/CMakeLists.txt

    r905 r909  
    4747
    4848IF(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
    5055  SET(LP_TEST_LIBS lemon)
    5156
     
    8388
    8489IF(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
    8696  SET(MIP_TEST_LIBS lemon)
    8797
Note: See TracChangeset for help on using the changeset viewer.