<div dir="ltr">well you can just ctrl-break and stop it. <div>a lot of times changing things doesn't cause everything to rebuild, so while fixing that small nuisance ... ya nevermind.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 12, 2019 at 2:06 PM Rob Boehne <<a href="mailto:robb@datalogics.com">robb@datalogics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-1931608826455451594WordSection1">
<p class="MsoNormal">Thank you! <u></u><u></u></p>
<p class="MsoNormal">But wow, I’m shocked that it can’t do this. It’s surprising that it’s not the default, let alone needs an add-on.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">CMake <<a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a>> on behalf of frodak17 <<a href="mailto:frodak17@gmail.com" target="_blank">frodak17@gmail.com</a>><br>
<b>Date: </b>Friday, April 12, 2019 at 9:33 AM<br>
<b>Cc: </b>"<a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a>" <<a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a>><br>
<b>Subject: </b>Re: [CMake] Make Visual Studio stop on error<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Apr 12, 2019 at 10:16 AM Rob Boehne <<a href="mailto:robb@datalogics.com" target="_blank">robb@datalogics.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">We’re really loving CMake here! And we’ve been slowly figuring out how to make things work for our legacy C/C++ project.
<u></u><u></u></p>
<p class="MsoNormal">One improvement we want to make is to tell cmake to generate Visual Studio projects that stop building when a dependency target fails.<u></u><u></u></p>
<p class="MsoNormal">Can something be set in the Visual Studio generator, or on the cmake –build command line to do that?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">The reason is that when a target fails, it keeps compiling 8000 source files, and we have to search Jenkins (web-based) logs of stdout/stderr to find what actually failed. It also
chews up resources with no benefit.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Rob<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">It seems that Visual Studio requires an addon to support this kind of behaviour.
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3DEinarEgilsson.StopOnFirstBuildError&data=02%7C01%7Crobb%40datalogics.com%7Cc59cc36244de44307fc808d6bf53cc3b%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636906763963142905&sdata=xoBeM7YQrU6SdSctjX%2BxK4Ebxd4cmkd1bIJTuRI%2BNAQ%3D&reserved=0" target="_blank">https://marketplace.visualstudio.com/items?itemName=EinarEgilsson.StopOnFirstBuildError</a>
<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>