Help: document exit code of command cmake(1)

This commit is contained in:
Joachim Wuttke (h)
2022-04-14 14:27:38 +02:00
parent 3d1d7d2b38
commit cc97725137

View File

@@ -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
========