Document `CMAKE_TESTING_ENABLED`
Calling enable_testing()
currently only sets the variable CMAKE_TESTING_ENABLED
to 1. Unfortunately this variable isn't documented. It would be useful if subsequent code could check for CMAKE_TESTING_ENABLED
, e.g. to define additional targets only if testing is enabled.
Or is there any reason why CMAKE_TESTING_ENABLED
shouldn't be documented?