[CMake] Weird output
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Wed Sep 17 16:56:38 EDT 2008
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 do know that the forms
make VERBOSE=1 -j2 all
or
make VERBOSE=0 -j2 all
do work.
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
More information about the CMake
mailing list