<div dir="ltr"><div><div>Hi,<br></div>If I do two consecutive builds with the same project, then it does not recompile the second time, no. It behaves as if something is different (a flag or something else) between the command line ctest build and the build in the gui.<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 18, 2018 at 9:01 PM, Kris Thielemans <span dir="ltr"><<a href="mailto:kris.f.thielemans@gmail.com" target="_blank">kris.f.thielemans@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div class="m_6768779523458013804WordSection1"><p class="MsoNormal"><span>Hi Simon<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>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”. <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>I haven’t checked RTK. Sorry. <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Kris<u></u><u></u></span></p><p class="MsoNormal"><a name="m_6768779523458013804__MailEndCompose"><span><u></u> <u></u></span></a></p><span></span><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> CMake [mailto:<a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.<wbr>org</a>] <b>On Behalf Of </b>Simon Rit<br><b>Sent:</b> 18 January 2018 16:58<br><b>To:</b> <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br><b>Subject:</b> [CMake] Unexpected recompilation with ctest compiled MSVC project<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><p class="MsoNormal">Hello,<u></u><u></u></p></div><p class="MsoNormal">I'm happily using ctest to test my project:<br><a href="http://my.cdash.org/index.php?project=RTK" target="_blank">http://my.cdash.org/index.php?<wbr>project=RTK</a><br>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.<u></u><u></u></p></div><p class="MsoNormal">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?<u></u><u></u></p></div><p class="MsoNormal">I hope this is clear (enough). Thanks,<u></u><u></u></p></div><p class="MsoNormal">Simon<u></u><u></u></p></div></div></div></div></div></blockquote></div><br></div>