On Tuesday 10 August 2010, Brad King wrote:
> On 08/10/2010 05:14 PM, Alexander Neundorf wrote:
> > I think it is still true for most find-modules, I think there are only a
> > few exceptions, mostly Boost and Subversion.
> > Checking... ok, also PostgreSQL, LibArchive (they are both new, right ?),
> > ImageMagick and Java set the exact-case _FOUND variables.
> > All others (more then 100 ?) use the UPPERCASE_FOUND.
> >
> > No matter which version I personally like better, I really do think that
> > the big majority uses UPPERCASE_CASE found, and now declaring that
> > ExactCase_FOUND is the standard would be wrong.
>
> I think the subversion patch in question is a step backwards.
> Somehow we need to move toward the Right Thing.  At least the
> documented FOO_FOUND variable should match the case of the
> rest of the Foo_XXX variables in the same module.  This is why
> I think the fphsa should just set both,

Well, I still think the UPPERCASE_ prefix also has it advantages, I don't have 
to remember the exact case of the module (was it FindLibXml2 or FindLibXML2 
or Findlibxml2 or FindLibxml2, the variables are all just LIBXML_SOMETHING).
It also makes them look more "consistent".

But if the majority here thinks ExactCase is better then ok.

Alex

P.S. 
_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to