mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06: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