[cmake-developers] Convention driven CMAKE_USE_PACKAGE macro
Alexander Neundorf
neundorf at kde.org
Mon Mar 5 16:49:58 EST 2012
On Monday 05 March 2012, Stephen Kelly wrote:
> Alexander Neundorf wrote:
> > The question whether the standard-conforming name is FOO_INCLUDE_DIRS or
> > Foo_INCLUDE_DIRS, i.e. ExactCase or UPPERCASE, is not decided.
> > readme.txt is ambiguous in this point, since it uses as example
> > "FindXXX.cmake", i.e. an UPPERCASE package name.
> >
> > There was a thread here in August 2010:
> > http://www.mail-archive.com/cmake-developers-
>
> wChDC6UyXvPYtjvyW6yDsg at public.gmane.org/msg00128.html
>
> > and results for what casing is used in cmake and in kdelibs here:
> > http://www.mail-archive.com/cmake-developers-
>
> wChDC6UyXvPYtjvyW6yDsg at public.gmane.org/msg00157.html
>
> The concensus seems to be that ExactCase is used. It also makes a lot more
> sense to me for several reasons but that's off topic for this thread. It's
> unfortunate that the ambiguity didn't get resolved in general.
Well, I think we all here agree that we would prefer ExactCase if we would
start from scratch.
But we are not starting from scratch, and so opinions differ.
Old default is by majority ALL_UPPER_CASE.
Alex
More information about the cmake-developers
mailing list