RFC: replacing MacroLogFeature.cmake with FeatureSummary.cmake

Johannes Sixt j.sixt at viscovery.net
Fri Jul 15 08:38:53 CEST 2011


Am 7/14/2011 20:48, schrieb Alexander Neundorf:
> Should the output be
> 
> Missing REQUIRED packages:
> * A
> * B
> * C
> 
> Missing RECOMMENDED packages:
> * E
> * F
> * G
> 
> or would 
> 
> Missing packages:
> * A (REQUIRED)
> * B (REQUIRED)
> * C (REQUIRED)
> * E (RECOMMENDED)
> * F (RECOMMENDED)
> * G (RECOMMENDED)
> 
> be also ok ?
> I guess the first option is easier to read (for humans), while the second 
> would be easier to parse (for a program).

IMHO the output should be

Missing RECOMMENDED packages:
* E
* F
* G

Missing REQUIRED packages:
* A
* B
* C

so that the real errors and are immediately above the command prompt; if
you have a largish list of missing (recommended) packages, you would
otherwise have to scroll back to see the real errors.

-- Hannes


More information about the Kde-buildsystem mailing list