On Thu, Oct 7, 2010 at 5:34 PM, Campbell Barton <span dir="ltr">&lt;<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Thu, Oct 7, 2010 at 8:48 PM, Campbell Barton &lt;<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>&gt; wrote:<br>
&gt; On Thu, Oct 7, 2010 at 10:44 AM, Michael Wild &lt;<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 7. Oct, 2010, at 11:58 , Campbell Barton wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi, I was wondering if this is possible or if it would be acceptable<br>
&gt;&gt;&gt; to disable progress printout.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; At the moment building with only minor changes prints a lot of text<br>
&gt;&gt;&gt; with CMake &amp; Makefiles.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; eg:<br>
&gt;&gt;&gt; [  4%] Built target bf_intern_audaspace<br>
&gt;&gt;&gt; [  4%] Built target bf_intern_string<br>
&gt;&gt;&gt; [  6%] Built target bf_intern_ghost<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; full log.<br>
&gt;&gt;&gt; <a href="http://www.pasteall.org/16053" target="_blank">http://www.pasteall.org/16053</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Setting: SET_PROPERTY(GLOBAL PROPERTY RULE_MESSAGES OFF)<br>
&gt;&gt;&gt; is no good because I want to see the lines which are running/building,<br>
&gt;&gt;&gt; just not the progress lines that do nothing (the reverse really).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I found some messages about this but they only refer to RULE_MESSAGES.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This may seem silly but its actually one of the reasons we still have<br>
&gt;&gt;&gt; hand written makefiles in our project (which Im trying to get replaced<br>
&gt;&gt;&gt; with cmake).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Would this be acceptable?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; what happens if you run &quot;make VERBOSE=1&quot; or enable CMAKE_VERBOSE_MAKEFILE?<br>
&gt;&gt;<br>
&gt;&gt; Michael<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; There is always a well-known solution to every human problem -- neat, plausible, and wrong.<br>
&gt;&gt; H. L. Mencken<br>
&gt;<br>
</div></div>&gt; using verbose makefiles it gives a lot of output even when running a<br>
&gt; build with no changes to any C files.<br>
&gt; <a href="http://www.pasteall.org/16061" target="_blank">http://www.pasteall.org/16061</a><br>
&gt;<br>
&gt; Im pretty happy with cmake&#39;s current output, its just for doing<br>
&gt; rebuilds during development where only a few files change, the<br>
&gt; progress gets in the way of seeing output of the files which do<br>
&gt; rebuild.<br>
&gt;<br>
&gt; So I think it would be good to have a RULE_PROGRESS option, since I<br>
&gt; still want to see RULE_MESSAGES.<br>
<br>
Im using CMake from GIT, and IIRC RULE_MESSAGES used to disable<br>
progress, this link confirms.<br>
<a href="http://www.itk.org/Bug/bug_view_advanced_page.php?bug_id=8726" target="_blank">http://www.itk.org/Bug/bug_view_advanced_page.php?bug_id=8726</a><br>
<br>
but at the moment % progress is enabled whatever its set to.<br>
<div><div></div><div class="h5"><br>
--<br>
- Campbell<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>
</div></div></blockquote></div><br><div>According to the last note in bug #8726, you should run cmake with:</div><div>-DCMAKE_RULE_MESSAGES=OFF</div><div>to turn these things off.</div><div><br></div><div>Have you done that? Or have you only tried the RULE_MESSAGES global property?</div>
<div><br></div><div>I have not looked at the code, but the bug says something different than what your email says. -D variables and global properties are 2 different things...</div><div><br></div><div>If you use -D to set CMAKE_RULE_MESSAGES to OFF does it actually turn them off?</div>
<div><br></div>