<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Simon<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>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”. <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I haven’t checked RTK. Sorry. <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Kris<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></a></p><span style='mso-bookmark:_MailEndCompose'></span><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> CMake [mailto:cmake-bounces@cmake.org] <b>On Behalf Of </b>Simon Rit<br><b>Sent:</b> 18 January 2018 16:58<br><b>To:</b> cmake@cmake.org<br><b>Subject:</b> [CMake] Unexpected recompilation with ctest compiled MSVC project<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><div><p class=MsoNormal>Hello,<o:p></o:p></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">http://my.cdash.org/index.php?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.<o:p></o:p></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?<o:p></o:p></p></div><p class=MsoNormal>I hope this is clear (enough). Thanks,<o:p></o:p></p></div><p class=MsoNormal>Simon<o:p></o:p></p></div></div></body></html>