[CMake] Find template

Joerg Mayer jmayer at loplof.de
Thu Aug 31 11:08:13 EDT 2006


On Thu, Aug 31, 2006 at 03:14:17PM +0200, frederic heem wrote:
> What's the benefit of changing from XXX_VARIABLE to Xxx_VARIABLE ? Only 2 
> FindXxx.cmake has adopted this style. This change is completely useless and 
> doesn't add any value. It just creates incompatibilities with existing 
> scripts. I will certainly not bother to change my home made scripts. It 
> doesn't mean that I refuse to abide to some rule, actually, it's the 
> opposite. Once rules has been defined, one sticks to it unless there is a 
> valid reason to change it.

I'm not talking about changing XXX -> Xxx, I'm talking about writing
FindXxx.cmake identically to the variables inside, so if you name your
file FindXXX.cmake then please name the variables XXX_LIBRARIES, and if
you name your file FindXxx, then please name the var Xxx_LIBRARIES. I
don't care the least whether one person Uses XXX, another Xxx and a
third xxx. The only thing is, I want the variables provided by the
package to use the same case that the package part of the filename uses.

 ciao
      Joerg

-- 
Joerg Mayer                                           <jmayer at loplof.de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.


More information about the CMake mailing list