<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><p class="MsoNormal">Hi.</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">We have a huge project which are using cmake.</span></p><p class="MsoNormal">
<span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">To resolve cross dependencies the cmake we are running it in two phases:</span></p>
<p class="MsoNormal"><span lang="EN-US">1.<font face="Times New Roman"><span style="font-size:9px"> </span></font></span><span lang="EN-US">Configure (only), interrupted by “</span><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(232,232,232)">SEND_ERROR"</span><span lang="EN-US">: In that phase </span><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(232,232,232)">CMakeCache.txt</span><span>
are created and it is used by next phase. </span></p><p class="MsoNormal"><span>2. Standard cmake run (cache variables are set, so it resolve cross dependecies)</span></p><p class="MsoNormal"><span><br></span></p>
<p class="MsoNormal"><span style="color:rgb(0,0,0)">Because first phase is interrupted by "SEND_ERROR", we need to disable error output within our run scripts (to avoid problems with Continuous Integration systems).</span></p>

<p class="MsoNormal"><font color="#000000">Unfortunately</font><span style="color:rgb(0,0,0)"> it is also hiding real errors/problems, which are appears during development process. So developers are blind, and unable to find problems in the first phase.</span></p>

<p class="MsoNormal"><span style="color:rgb(0,0,0)"><br></span></p><p class="MsoNormal"><span style="color:rgb(0,0,0)">We tried some workarounds, but I think the best solution is make possible to configure separate from generate from command line.</span></p>

<p class="MsoNormal"><span style="color:rgb(0,0,0)"><br></span></p><p class="MsoNormal">Is it possible to implement --configure-only argument? </p><p class="MsoNormal">It was described here:</p><p class="MsoNormal">









</p><p class="MsoNormal"><a href="http://www.cmake.org/Bug/view.php?id=13359" target="_blank">http://www.cmake.org/Bug/view.php?id=13359</a></p><p class="MsoNormal"><br></p><p class="MsoNormal">The patch are already exists, and work perfectly for me.</p>

<p class="MsoNormal">It is only need to review, update and push.</p><p class="MsoNormal"><br></p><p class="MsoNormal">Thanks in advance </p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal">Bartosz</p></font></span></div>

</div><br></div>