CTest
: Configure a project for testing with CTest/CDashThis file configures a project to use the CTest/CDash/Dart testing/dashboard process. This module should be included in the CMakeLists.txt file at the top of a project. Typical usage:
INCLUDE(CTest)
IF(BUILD_TESTING)
# ... testing related CMake code ...
ENDIF(BUILD_TESTING)
The BUILD_TESTING option is created by the CTest module to determine whether testing support should be enabled. The default is ON.