diff --git a/6.5.1/_tools/cmake/bin/cmake-gui.exe b/6.5.1/_tools/cmake/bin/cmake-gui.exe index d045588..6ccc9d2 100644 Binary files a/6.5.1/_tools/cmake/bin/cmake-gui.exe and b/6.5.1/_tools/cmake/bin/cmake-gui.exe differ diff --git a/6.5.1/_tools/cmake/bin/cmake.exe b/6.5.1/_tools/cmake/bin/cmake.exe index ec88c02..4980e1a 100644 Binary files a/6.5.1/_tools/cmake/bin/cmake.exe and b/6.5.1/_tools/cmake/bin/cmake.exe differ diff --git a/6.5.1/_tools/cmake/bin/cmcldeps.exe b/6.5.1/_tools/cmake/bin/cmcldeps.exe index 7004b38..d0b263c 100644 Binary files a/6.5.1/_tools/cmake/bin/cmcldeps.exe and b/6.5.1/_tools/cmake/bin/cmcldeps.exe differ diff --git a/6.5.1/_tools/cmake/bin/cpack.exe b/6.5.1/_tools/cmake/bin/cpack.exe index 8c3cd73..9ea1b96 100644 Binary files a/6.5.1/_tools/cmake/bin/cpack.exe and b/6.5.1/_tools/cmake/bin/cpack.exe differ diff --git a/6.5.1/_tools/cmake/bin/ctest.exe b/6.5.1/_tools/cmake/bin/ctest.exe index 25cbedf..c2eb03d 100644 Binary files a/6.5.1/_tools/cmake/bin/ctest.exe and b/6.5.1/_tools/cmake/bin/ctest.exe differ diff --git a/6.5.1/_tools/cmake/share/aclocal/cmake.m4 b/6.5.1/_tools/cmake/share/aclocal/cmake.m4 index a40c0ae..39826bc 100644 --- a/6.5.1/_tools/cmake/share/aclocal/cmake.m4 +++ b/6.5.1/_tools/cmake/share/aclocal/cmake.m4 @@ -13,7 +13,7 @@ fi # $2: language (e.g. C/CXX/Fortran) # $3: The compiler ID, defaults to GNU. # Possible values are: GNU, Intel, Clang, SunPro, HP, XL, VisualAge, PGI, -# PathScale, Cray, SCO, MSVC +# PathScale, Cray, SCO, MSVC, LCC # $4: optional extra arguments to cmake, e.g. "-DCMAKE_SIZEOF_VOID_P=8" # $5: optional path to cmake binary AC_DEFUN([CMAKE_FIND_PACKAGE], [ diff --git a/6.5.1/_tools/cmake/share/bash-completion/completions/cmake b/6.5.1/_tools/cmake/share/bash-completion/completions/cmake index d8d2c86..bed7248 100644 --- a/6.5.1/_tools/cmake/share/bash-completion/completions/cmake +++ b/6.5.1/_tools/cmake/share/bash-completion/completions/cmake @@ -96,7 +96,15 @@ _cmake() _filedir return ;; - --build|--install|--open) + --build) + # Seed the reply with non-directory arguments that we know are + # allowed to follow --build. _filedir will then prepend any valid + # directory matches to these. + COMPREPLY=( $( compgen -W "--preset --list-presets" -- "$cur" ) ) + _filedir -d + return + ;; + --install|--open) _filedir -d return ;; @@ -149,6 +157,34 @@ _cmake() 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) return ;; + --list-presets) + local IFS=$'\n' + local quoted + printf -v quoted %q "$cur" + + if [[ ! "${IFS}${COMP_WORDS[*]}${IFS}" =~ "${IFS}--build${IFS}" ]]; then + COMPREPLY=( $( compgen -W "configure${IFS}build${IFS}test${IFS}all" -- "$quoted" ) ) + fi + return + ;; + --preset) + local IFS=$'\n' + local quoted + printf -v quoted %q "$cur" + + local build_or_configure="configure" + if [[ "${IFS}${COMP_WORDS[*]}${IFS}" =~ "${IFS}--build${IFS}" ]]; then + build_or_configure="build" + fi + + local presets=$( cmake --list-presets="$build_or_configure" 2>/dev/null | + grep -o "^ \".*\"" | sed \ + -e "s/^ //g" \ + -e "s/\"//g" \ + -e 's/ /\\\\ /g' ) + COMPREPLY=( $( compgen -W "$presets" -- "$quoted" ) ) + return + ;; esac $split && return diff --git a/6.5.1/_tools/cmake/share/bash-completion/completions/ctest b/6.5.1/_tools/cmake/share/bash-completion/completions/ctest index 49343bb..3c629d2 100644 --- a/6.5.1/_tools/cmake/share/bash-completion/completions/ctest +++ b/6.5.1/_tools/cmake/share/bash-completion/completions/ctest @@ -103,6 +103,17 @@ _ctest() 2>/dev/null | grep -v "^ctest version " )' -- "$cur" ) ) return ;; + --preset) + local IFS=$'\n' + local quoted + printf -v quoted %q "$cur" + COMPREPLY=( $( compgen -W '$( ctest --list-presets 2>/dev/null | + grep -o "^ \".*\"" | sed \ + -e "s/^ //g" \ + -e "s/\"//g" \ + -e "s/ /\\\\ /g" )' -- "$quoted" ) ) + return + ;; esac if [[ "$cur" == -* ]]; then diff --git a/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/DEVICE_LINK_OPTIONS.txt b/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/DEVICE_LINK_OPTIONS.txt deleted file mode 100644 index 3f0226f..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/DEVICE_LINK_OPTIONS.txt +++ /dev/null @@ -1,11 +0,0 @@ - -When a device link step is involved, which is controlled by -:prop_tgt:`CUDA_SEPARABLE_COMPILATION` and -:prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and policy :policy:`CMP0105`, -the raw options will be delivered to the host and device link steps (wrapped in -``-Xcompiler`` or equivalent for device link). Options wrapped with -``$`` -:manual:`generator expression ` will be used -only for the device link step. Options wrapped with ``$`` -:manual:`generator expression ` will be used -only for the host link step. diff --git a/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/OPTIONS_SHELL.txt b/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/OPTIONS_SHELL.txt deleted file mode 100644 index 0f8ec32..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/OPTIONS_SHELL.txt +++ /dev/null @@ -1,9 +0,0 @@ -The final set of compile or link options used for a target is constructed by -accumulating options from the current target and the usage requirements of -its dependencies. The set of options is de-duplicated to avoid repetition. -While beneficial for individual options, the de-duplication step can break -up option groups. For example, ``-D A -D B`` becomes ``-D A B``. One may -specify a group of options using shell-like quoting along with a ``SHELL:`` -prefix. The ``SHELL:`` prefix is dropped, and the rest of the option string -is parsed using the :command:`separate_arguments` ``UNIX_COMMAND`` mode. -For example, ``"SHELL:-D A" "SHELL:-D B"`` becomes ``-D A -D B``. diff --git a/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/add_compile_options.rst b/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/add_compile_options.rst deleted file mode 100644 index 36f403c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.18/Help/command/add_compile_options.rst +++ /dev/null @@ -1,51 +0,0 @@ -add_compile_options -------------------- - -Add options to the compilation of source files. - -.. code-block:: cmake - - add_compile_options(