Hi Simon
It definitely isn’t expected behaviour. MSVC should do exactly the same. It seems to point to a problem in your CMake files or elsewhere. Does the same thing happen if you just build immediately? Obviously, you shouldn’t do “rebuild” but just “build”. I haven’t checked RTK. Sorry. Kris From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Simon Rit Sent: 18 January 2018 16:58 To: cmake@cmake.org Subject: [CMake] Unexpected recompilation with ctest compiled MSVC project Hello, I'm happily using ctest to test my project: http://my.cdash.org/index.php?project=RTK One feature that I like is that if a problem appears with one config, I can easily try to modify the sources and then run make in the nightly built directory, only the object that failed to compile and object files impacted by the changes will be (re-)compiled. This works perfectly under linux with makefiles. However, the behavior is not the same under MSVC and since I am not used to this IDE, I'd like some explanation. When I have a problem with a compilation and I open the nightly configured MSVC project in the IDE, then everything is recompiled, including those files that compiled without any issue. Is this an expected behavior and, if yes, is there any way to recompile only what has failed, as I am used too under linux? I hope this is clear (enough). Thanks, Simon
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake