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