Changeset 927:16d466589b54 in lemon-main for test
- Timestamp:
- 08/25/10 21:34:58 (14 years ago)
- Branch:
- default
- Children:
- 928:021e232acda2, 940:64260c0f58eb
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/CMakeLists.txt
r679 r927 42 42 43 43 IF(LEMON_HAVE_LP) 44 ADD_EXECUTABLE(lp_test lp_test.cc) 44 IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") 45 ADD_EXECUTABLE(lp_test lp_test.cc) 46 ELSE() 47 ADD_EXECUTABLE(lp_test EXCLUDE_FROM_ALL lp_test.cc) 48 ENDIF() 49 45 50 SET(LP_TEST_LIBS lemon) 46 51 … … 78 83 79 84 IF(LEMON_HAVE_MIP) 80 ADD_EXECUTABLE(mip_test mip_test.cc) 85 IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") 86 ADD_EXECUTABLE(mip_test mip_test.cc) 87 ELSE() 88 ADD_EXECUTABLE(mip_test EXCLUDE_FROM_ALL mip_test.cc) 89 ENDIF() 90 81 91 SET(MIP_TEST_LIBS lemon) 82 92 … … 114 124 115 125 FOREACH(TEST_NAME ${TESTS}) 116 ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc) 126 IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") 127 ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc) 128 ELSE() 129 ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc) 130 ENDIF() 117 131 TARGET_LINK_LIBRARIES(${TEST_NAME} lemon) 118 132 ADD_TEST(${TEST_NAME} ${TEST_NAME}) 133 ADD_DEPENDENCIES(check ${TEST_NAME}) 119 134 ENDFOREACH()
Note: See TracChangeset
for help on using the changeset viewer.