diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2020-05-04 15:08:40 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2020-05-06 11:40:36 (GMT) |
commit | e4f1b301fecb9006cdb3153fb3575c6506be9ece (patch) | |
tree | 51bf9c1784ebc9604a9cbf75827e6ec66f7ca483 /Help | |
parent | e177e7dbecd3af4ac75ae8db7b726ce9de95a5b8 (diff) | |
download | CMake-e4f1b301fecb9006cdb3153fb3575c6506be9ece.zip CMake-e4f1b301fecb9006cdb3153fb3575c6506be9ece.tar.gz CMake-e4f1b301fecb9006cdb3153fb3575c6506be9ece.tar.bz2 |
cmake: Allow arbitrary args passed to CMake script
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake.1.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index e3e965c..9becfc6 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -481,13 +481,17 @@ Run a Script .. code-block:: shell - cmake [{-D <var>=<value>}...] -P <cmake-script-file> + cmake [{-D <var>=<value>}...] -P <cmake-script-file> [-- <unparsed-options>...] Process the given cmake file as a script written in the CMake language. No configure or generate step is performed and the cache is not modified. If variables are defined using ``-D``, this must be done before the ``-P`` argument. +Any options after ``--`` are not parsed by CMake, but they are still included +in the set of :variable:`CMAKE_ARGV<n> <CMAKE_ARGV0>` variables passed to the +script (including the ``--`` itself). + Run a Command-Line Tool ======================= |