]> Creatis software - clitk.git/commitdiff
adding subdirectory for the tests
authorMaxime <mpech@russule.clb.loc>
Tue, 10 May 2011 08:43:26 +0000 (10:43 +0200)
committerMaxime <mpech@russule.clb.loc>
Tue, 10 May 2011 08:43:26 +0000 (10:43 +0200)
CMakeLists.txt

index a29891d..897fd2e 100644 (file)
@@ -16,7 +16,9 @@ INCLUDE(cmake/common.cmake)
 #Support for the CTest dashboard testing system
 OPTION(BUILD_TESTING "Build the testing tree" OFF)
 IF (BUILD_TESTING)
+  OPTION(CLITK_BUILD_TESTING "Test ITK" ON)
   INCLUDE(CTest)
+  ADD_SUBDIRECTORY(tests)
 ENDIF(BUILD_TESTING)
 #=========================================================