[CMake] Variable naming when writing FindXXX.cmake files
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Nov 14 12:51:08 EST 2008
On Friday 14 November 2008, Andreas Pakulat wrote:
...
> Interesting, then why does the (relatively new) FindBoost.cmake module not
> follow this? It uses all-uppercase for environment and cmake variables
> (given on the commandline) but uses mixed case for all variables it
> "exports". I recall that there were specific changes to make it this way,
> so now I'm confused??
I carefully wrote "all early modules", since some of the later ones (Boost) do
it differently. But they are the minority and summer last year the conclusion
was to go with all-uppercase.
I hope this is still the valid opinion ?
Alex
More information about the CMake
mailing list