Hello, dear ParaView developers
Could you please give me an advise on how to reduce CMake configure time?
It costs me 30s every time I modify any of CMakeLists files
Thanks
Hello, dear ParaView developers
Could you please give me an advise on how to reduce CMake configure time?
It costs me 30s every time I modify any of CMakeLists files
Thanks
ParaView is a large project and it takes CMake some time to configure it. Unfortunately, the best way I have found is to try to make all the CMake changes that are needed and only configure again when I think I am done.
30 seconds sounds long to me. Initial configures take about 2 minutes and I really feel like a lot more than 75% of that time is spent in try_compile
(which should be done only once for each test). A random build I have laying around takes about 6 seconds.
Some questions:
Are you using Unix Makefiles or Ninja as a generator? I observed major differences in the two but don’t quote me on that