Is there a way to configure CMakeLists.txt to print a message if ctest tests ctest ? For example:
ctest
cmake .. make ctest // fails message output: Please contact xyz@mail.com to resolve testing problems.
You can use message , which can help you output information to the configuration log process.