[cmake-developers] find_package module-only policy

Alexander Neundorf neundorf at kde.org
Sat Feb 25 05:39:45 EST 2012


On Wednesday 22 February 2012, Brad King wrote:
> On 2/22/2012 4:30 PM, Alexander Neundorf wrote:
> > On Wednesday 22 February 2012, Brad King wrote:
> >> I think that's too complicated for now.  It is much simpler to just
> >> put the keywords at the same place as NO_MODULE currently goes.
> > 
> > Yes, probably. I will think a bit more about it...
> 
> Actually thinking more about the signature I like the package-first
> approach better even when the CONFIG or MODULE keyword is used.  Let's
> not bike-shed this anymore.  We're just adding more names like NO_MODULE.
> 
> I'd rather focus on the error message wording which is more important.

I updated the FindPackage_ModeWarning branch.
It should now have everything as discussed here, please review.

The FindPackageTest now also tries to list more or less all possible failure 
messages, the output is attached.

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errormessages.log
Type: text/x-log
Size: 13074 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120225/6a6f6cbc/attachment-0002.bin>


More information about the cmake-developers mailing list