General CMake documentation links

From PLplotWiki
Revision as of 16:43, 31 August 2006 by Airwin (Talk | contribs) (General CMake documentation)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Useful CMake documentation.

  • To get the same documentation in perhaps more convenient form from cmake itself, run

cmake --help-full |less

  • To get a complete list of cmake commands use

cmake --help-command-list |less

  • To get specific help for, e.g., the ADD_SUBDIRECTORY command use

cmake --help-command ADD_SUBDIRECTORY

  • CMake is an easy language to understand so the cmake modules in $cmake_prefix/share/CMake/Modules, where cmake_prefix is the prefix for your cmake install, are a good source of ideas.