[CMake] Find*.cmake variable naming
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Jan 14 16:03:43 EST 2008
On Monday 14 January 2008, Mike Jackson wrote:
> On Jan 14, 2008, at 1:01 PM, Rodolfo Schulz de Lima wrote:
> Nothing much to add except, "I Agree". Consistency in any API/
> Language is essential for people to learn quickly. I would also think
Yes.
> that the jump from 2.4.x to 2.6.x is _perfect_ time to change the
> variables. There may be other major changes API breakage,
No, there may not, at least it is the goal to have CMake 2.6 completely
compatible. If something is working with CMake 2.4 but doesn't work with 2.6
this is considered a bug (maybe except for undocumented functions/variables,
and maybe except things where one could argue about which behaviour
is "correct").
The documentation how the variables should be named is in
CMake/Modules/readme.txt.
The documentation for the modules coming with cmake is on the man page, with
cmake cvs it is possible to also create documentation for modules in
CMAKE_MODULE_PATH.
Alex
More information about the CMake
mailing list