mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03:00
Help: document exit code of command cmake(1)
This commit is contained in:
@@ -1059,6 +1059,17 @@ To view the presets available for a project, use
|
||||
|
||||
cmake <source-dir> --list-presets
|
||||
|
||||
|
||||
.. _`CMake Exit Code`:
|
||||
|
||||
Return Value (Exit Code)
|
||||
========================
|
||||
|
||||
Upon regular termination, the **cmake** executable returns the exit code 0.
|
||||
If termination is caused by the command :command:`message(FATAL_ERROR)`,
|
||||
then a non-zero exit code is returned.
|
||||
|
||||
|
||||
See Also
|
||||
========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user