You are now on the CMake community wiki.
Many pages are now DEPRECATED and sometimes even considered bad
practice. Those are only kept as reference for previous CMake versions.
The documentation for the latest version is available here:
User Contributed Macros
Although CMake comes with a whole bunch of FindXXX packages, there is a
large number of packages there are not covered. The hope is that these
user-contributed macros will eventually make their way into the official
distribution. Before contributing, please have your FindXXX package
conform to the CMake Module
Comprehensive Collection of CMake functions/macros
For CMake 2.8.7 and higher. More complex build scripts might need a
larger toolset than is provided by CMake. Here is a tested collection of
over 500 CMake functions which you can easily download and use by just
including a single file in your CMakeLists.txt.
When generating Visual Studio projects, the priorities can be sometimes
different than for other generators. These are some VS-specific (and
sometimes not-so-specific) macros that could help you generate better VS
create and cache a list of project files by recursively globbing a
GenerateProject -- creates a
VS project with subgroups that mimic the directory structure