[Cmake] convention of case sensitivity of FIND_PACKAGE
Brad King
brad.king at kitware.com
Mon Jul 12 08:38:08 EDT 2004
Jan Woetzel wrote:
>
> Hi,
> another question about "conventions" of cmake.
> (1) Should Find scripts should be case sensitive (FindFoo.cmake) or
> complete upper case(FIndFOO.cmake) ?
They should be case sensitive.
> (2) Is it correct, that the variales set by the script to be used by
> FIND_PACKAGE should be case sensituve, too ?
> e.g. Foo_FOUND, Foo_LIBRARIES instead of FOO_FOUND, FOO_LIBRARIES ?
The variables should also be case sensitive.
All new modules should be written following these conventions. The
older existing modules do not follow the convention because of backward
compatibility.
-Brad
More information about the Cmake
mailing list