On Thu, Oct 7, 2010 at 5:34 PM, Campbell Barton <span dir="ltr"><<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>></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 <<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>> wrote:<br>
> On Thu, Oct 7, 2010 at 10:44 AM, Michael Wild <<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>> wrote:<br>
>><br>
>> On 7. Oct, 2010, at 11:58 , Campbell Barton wrote:<br>
>><br>
>>> Hi, I was wondering if this is possible or if it would be acceptable<br>
>>> to disable progress printout.<br>
>>><br>
>>> At the moment building with only minor changes prints a lot of text<br>
>>> with CMake & Makefiles.<br>
>>><br>
>>> eg:<br>
>>> [ 4%] Built target bf_intern_audaspace<br>
>>> [ 4%] Built target bf_intern_string<br>
>>> [ 6%] Built target bf_intern_ghost<br>
>>><br>
>>> full log.<br>
>>> <a href="http://www.pasteall.org/16053" target="_blank">http://www.pasteall.org/16053</a><br>
>>><br>
>>> Setting: SET_PROPERTY(GLOBAL PROPERTY RULE_MESSAGES OFF)<br>
>>> is no good because I want to see the lines which are running/building,<br>
>>> just not the progress lines that do nothing (the reverse really).<br>
>>><br>
>>> I found some messages about this but they only refer to RULE_MESSAGES.<br>
>>><br>
>>> This may seem silly but its actually one of the reasons we still have<br>
>>> hand written makefiles in our project (which Im trying to get replaced<br>
>>> with cmake).<br>
>>><br>
>>> Would this be acceptable?<br>
>>><br>
>><br>
>> what happens if you run "make VERBOSE=1" or enable CMAKE_VERBOSE_MAKEFILE?<br>
>><br>
>> Michael<br>
>><br>
>> --<br>
>> There is always a well-known solution to every human problem -- neat, plausible, and wrong.<br>
>> H. L. Mencken<br>
><br>
</div></div>> using verbose makefiles it gives a lot of output even when running a<br>
> build with no changes to any C files.<br>
> <a href="http://www.pasteall.org/16061" target="_blank">http://www.pasteall.org/16061</a><br>
><br>
> Im pretty happy with cmake's current output, its just for doing<br>
> rebuilds during development where only a few files change, the<br>
> progress gets in the way of seeing output of the files which do<br>
> rebuild.<br>
><br>
> So I think it would be good to have a RULE_PROGRESS option, since I<br>
> 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>