If a file is specified, the version is written into it. Show program name/version banner and exit. If a file is specified, the help is written into it. This option is used by the cmake build to generate the UNIX man page. Print full help as a UNIX man page and exit. This option is used by CMake authors to help produce web pages.
It is provided for use on non-UNIX platforms, but is also convenient if the man page is not installed. Usage describes the basic command line interface and its options.įull help displays most of the documentation provided by the UNIX man page. If a file is specified, the copyright is written into it.
Users build a project by using CMake to generate a build system for a native tool on their platform. Projects specify their build process with platform-independent CMake listfiles included in each directory of a source tree with the name CMakeLists.txt. CMake is a cross-platform build system generator.