Feature request: option to omit tests
I'm incorporating clapack into my CMake-based project. This is easy to do with a simple add_subdirectory CMake command. However, it would be nice to have an option of skipping the tests; I only want to test my code, not yours. If you added a cache variable, I could set the variable before adding the clapack subdirectory. Something like this:
Then later on:
As it is, I have to edit your CMake scripts to omit the tests.
- Code: Select all
option(clapack_build_tests "Build the tests for LAPACK and BLAS." OFF)
Then later on:
- Code: Select all
if (clapack_build_tests)
add_subdirectory (TESTING)
endif ()
As it is, I have to edit your CMake scripts to omit the tests.