Windows Visual Studio project initialization time 2x slower in 3.9.2 (wrt 3.7)
I have just upgraded to 3.9.2 from 3.7
Running cmake .
over a simple CMakeLists.txt with project(MYPROJECT CXX)
goes from 5 secs (VS 2015) to 10+ secs (VS 2015 too), a couple of seconds more for VS 2017. As this is a very common operation in my test suite, it happens that my test suite is timing-out in Appveyor because it went from <30 minutes to > 1hr, just because of this delay.
Most of the time, it is stuck in the Detecting CXX compile features
check.
Any idea why this time as increased so much? Any way to workaround it? set(CMAKE_CXX_COMPILER_WORKS 1)
helps a bit, but doesn't skip the features check.
Many thanks!
Edited by Brad King