equal
deleted
inserted
replaced
115 ) |
115 ) |
116 ENDIF() |
116 ENDIF() |
117 ENDIF() |
117 ENDIF() |
118 |
118 |
119 FOREACH(TEST_NAME ${TESTS}) |
119 FOREACH(TEST_NAME ${TESTS}) |
120 ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc) |
120 IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") |
|
121 ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc) |
|
122 ELSE() |
|
123 ADD_EXECUTABLE(${TEST_NAME} EXCLUDE_FROM_ALL ${TEST_NAME}.cc) |
|
124 ENDIF() |
121 TARGET_LINK_LIBRARIES(${TEST_NAME} lemon) |
125 TARGET_LINK_LIBRARIES(${TEST_NAME} lemon) |
122 ADD_TEST(${TEST_NAME} ${TEST_NAME}) |
126 ADD_TEST(${TEST_NAME} ${TEST_NAME}) |
123 ADD_DEPENDENCIES(check ${TEST_NAME}) |
127 ADD_DEPENDENCIES(check ${TEST_NAME}) |
124 ENDFOREACH() |
128 ENDFOREACH() |