From 2ba55e90db84d33c83fd9aaaa42004d211779a1d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 17 Feb 2011 16:58:18 +0100 Subject: [PATCH] make check no test everything - also rm the EigenTesting cmake sub-project --- CMakeLists.txt | 4 ++++ test/CMakeLists.txt | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 15816f138..3cd862cd5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,7 +1,3 @@ -project(EigenTesting) -add_custom_target(buildtests) -add_custom_target(check COMMAND "ctest") -add_dependencies(check buildtests) find_package(GSL) if(GSL_FOUND AND GSL_VERSION_MINOR LESS 9)