[CMake] Weird output

Jesper Eskilson jesper at eskilson.se
Thu Sep 18 02:04:19 EDT 2008


Alan W. Irwin wrote:
> On 2008-09-17 09:10+0200 Jesper Eskilson wrote:
> 
>> Timenkov Yuri wrote:
>>
>>>     Anyway, the printout is inside a if(this->Verbose) { ... }, so
>>>     presumable it is something which can be switched on/off.
>>>
>>> And it seems not a problem, because CMake just tells why it 
>>> regenerates dependencies.
>>
>> But it clutters my make output. I like my make output to be as clean 
>> as possible. Actually I would like to get rid of the "Building CXX 
>> object..." messages as well -- when running make with the -s option 
>> there should be no output at all except error messages. But that is 
>> another issue.
>>
>> Anyway, the culprit is that I ran make like this
>>
>> $ make -j2 all VERBOSE=
>>
>> i.e. the VERBOSE variable is set, but to the empty string.
> 
> I doubt setting VERBOSE at the end like that after the "all" target will
> work. For that order make probably assumes "VERBOSE=" is a target which is
> not what you want.

I don't think so. VERBOSE seems to be set to an empty string (as far as 
I can tell, I haven't checked with $(origin ...)).

Anyway, I've gotten rid of the printouts, so now I'm happy.

--
/Jesper



More information about the CMake mailing list