From 2ba55e90db84d33c83fd9aaaa42004d211779a1d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 17 Feb 2011 16:58:18 +0100 Subject: make check no test everything - also rm the EigenTesting cmake sub-project --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 07291fac4..39b29e48d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -277,6 +277,10 @@ add_subdirectory(Eigen) add_subdirectory(doc EXCLUDE_FROM_ALL) +add_custom_target(buildtests) +add_custom_target(check COMMAND "ctest") +add_dependencies(check buildtests) + # CMake/Ctest does not allow us to change the build command, # so we have to workaround by directly editing the generated DartConfiguration.tcl file # save CMAKE_MAKE_PROGRAM -- cgit v1.2.3