I configure frequently but I am currently not using either memory checks or code coverage. Would it be possible to opt-out of this functionality in order to speed up my configuration by 30%?
Interesting that the slow find_program() call uses a registry location for PATHS. I wonder if that might be related to why that particular call is so slow. Would be interesting to temporarily comment that out to see if it made any difference in your case.
Thank you. Using enable_testing() instead of include(CTest) indeed reduced configuration time to roughly 5.5 seconds. Tests still seem to run fine on command line and in CLion.