diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-11-25 21:26:37 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-11-25 21:26:37 -0500 |
commit | 5923bcb1b94cd5a79dfc57f2ffe6271d999ea67d (patch) | |
tree | 8b4d720e2e271a1d22b7d1eb3435846b284ec952 /CMakeLists.txt | |
parent | f795681da0fec9cd8a56f6987c903ec9a530d509 (diff) |
improve the scripts for building unit tests:
* support unsupported/
* use egrep instead of grep, properly escape special chars.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 33e7584c4..10c72ab38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,6 +152,9 @@ add_subdirectory(doc EXCLUDE_FROM_ALL) include(CTest) enable_testing() # must be called from the root CMakeLists, see man page +include(EigenTesting) +ei_init_testing() + if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest else() @@ -164,6 +167,7 @@ add_subdirectory(demos EXCLUDE_FROM_ALL) add_subdirectory(blas EXCLUDE_FROM_ALL) +# must be after test and unsupported, for configuring buildtests.in add_subdirectory(scripts EXCLUDE_FROM_ALL) # TODO: consider also replacing EIGEN_BUILD_BTL by a custom target "make btl"? |