Steps 7 thru 10 on your list may be performed by the command lines:<div>  cmake --build . --config Release<br>  cmake --build . --target install --config Release<br><div class="gmail_quote">  (equivalent to the &quot;make; make install&quot; parts of your example command line)</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Causing that to happen in delicious GUI form would be simple enough... But do enough people want this...? Or do people like switching over to the IDEs?</div><div class="gmail_quote">
<br></div><div class="gmail_quote">We&#39;ve talked about a &quot;build&quot; button in the cmake-gui before, but if errors occur, you have to go elsewhere to edit code anyhow.</div><div class="gmail_quote"><br></div><div class="gmail_quote">
If we have a build button, we have to:</div><div class="gmail_quote">- make sure we handle voluminous output from the build tools</div><div class="gmail_quote">- provide a way to interrupt a build in progress when the observer can&#39;t wait any longer...</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">It shouldn&#39;t be hard, but it&#39;s not entirely trivial either. Deliciousness never is.</div><div class="gmail_quote"><br></div><div class="gmail_quote">What do others think? Is this a thing you&#39;ve always wanted, or something you&#39;ve never even wished for...?</div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks,</div><div class="gmail_quote">David</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">
(this is the cross-platform equivalent of &quot;make; make install&quot; in your example.)</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Aug 31, 2010 at 11:33 AM, Mark Roden <span dir="ltr">&lt;<a href="mailto:mmroden@gmail.com">mmroden@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br><br>I&#39;m wondering if it would be possible to have CMake bypass IDEs altogether and just produce the final, installed results.<br>
<br>Right now, I do this:<br>1) download source<br>2) configure source<br>3) tweak settings<br>
4) configure source again<br>5) Probably configure a third time, depending on what CMake wants to make the &#39;generate&#39; button show up<br>6) generate code<br>7) open IDE<br>8) select build style (debug, release, etc)<br>

9) build<br>10) build install<br>11) use libraries/exes/etc<br><br>Would it be possible to combine steps 6-10 with a single button in CMake?  That is, have a CMake default flag that is &#39;build style&#39;, and have that be something like &#39;debug&#39; (which corresponds to a set of compiler switches, etc), &#39;release&#39; (other switches), and so forth.  Have that show up as a simple option when configuring.  Then, rather than having to go through all subsequent steps, just have a third button that is &#39;build and install&#39;, that just goes right to building and installing?  <br>

<br>The idea is that if I need to set up a development environment on a new machine, or recover from a crash, or the like, I should be able to download the source and (ideally) press a single button to make it happen.<br>

<br>I&#39;ve followed this style:<br><a href="http://www.joelonsoftware.com/articles/fog0000000043.html" target="_blank">http://www.joelonsoftware.com/articles/fog0000000043.html</a><br><br>for a while now, and having the one-button deployment really shows weaknesses in the process, as well as really helps have end users get to what they actually want, which is an installed, usable version of the code that they downloaded.  It&#39;s like running ./configure; make; make install from the command line, but in delicious GUI form and allowing you to easily flip whatever switches you want in step 3 above.<br>

<br>Make sense?  Good idea/bad idea?<br><br>Thanks,<br><font color="#888888">Mark<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>