diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2014-11-29 16:56:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-01 14:50:49 (GMT) |
commit | 0de867dde282670461e56ce61e9c33fc6044d9a4 (patch) | |
tree | af94ceb9dbebc712c08381b520462aca49dd113d /Help/manual/cmake-language.7.rst | |
parent | 8e75f1d2fa3049ac31f4ebdbc255fca3e6414802 (diff) | |
download | CMake-0de867dde282670461e56ce61e9c33fc6044d9a4.zip CMake-0de867dde282670461e56ce61e9c33fc6044d9a4.tar.gz CMake-0de867dde282670461e56ce61e9c33fc6044d9a4.tar.bz2 |
continue: Add a new CMake language command for loop continuation (#14013)
Inspired-by: Doug Barbieri
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Help/manual/cmake-language.7.rst')
-rw-r--r-- | Help/manual/cmake-language.7.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst index 9c511ca..15c101f 100644 --- a/Help/manual/cmake-language.7.rst +++ b/Help/manual/cmake-language.7.rst @@ -469,8 +469,10 @@ Loops The :command:`foreach`/:command:`endforeach` and :command:`while`/:command:`endwhile` commands delimit code -blocks to be executed in a loop. The :command:`break` command -may be used inside such blocks to terminate the loop early. +blocks to be executed in a loop. Inside such blocks the +:command:`break` command may be used to terminate the loop +early whereas the :command:`continue` command may be used +to start with the next iteration immediately. Command Definitions ------------------- |