Skip to content

Commit b6852f1

Browse files
committedNov 17, 2011
Added make check command for Sandro Santilli and other gnu make officianados
1 parent af64ae7 commit b6852f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ ENDIF ()
195195
IF (ENABLE_TESTS)
196196
SET( QT_USE_QTTEST TRUE )
197197
ENABLE_TESTING()
198+
# Define "make check" as alias for "make test" - thanks geos :-)
199+
add_custom_target(check COMMAND ctest)
198200
ENDIF (ENABLE_TESTS)
199201

200202

0 commit comments

Comments
 (0)
Please sign in to comment.