CMake Nightly Date Stamp
ExternalProject: Add CMAKE_CACHE_DEFAULT_ARGS arguments

This argument allows to set default arguments that are written in the
initial cache file, but that are not forced, and therefore allows the
user to change these values later (CMAKE_ARGS and CMAKE_CACHE_ARGS
always overwrite the values).

Also add some documentation to explain the differences between these 3
arguments.
ExternalProject: Add unit tests for CMAKE_CACHE_DEFAULT_ARGS
Xcode: Inherit global settings in per-target WARNING_CFLAGS (#15224)

Allow projects to use CMAKE_CODE_ATTRIBUTE_WARNING_CFLAGS to add their
own warning flags and have them used by the targets.
Fix Tutorial tests when USE_MYMATH is OFF

Unit tests for the square root of "-25" currently fail when USE_MYMATH
is disabled. The "mysqrt" method in the tutorials, returns "0" for a
negative value, while "sqrt" returns "NaN", and therefore the output is
not accepted by the test.

This patch checks if the number is negative and eventually returns "0"
before calling "sqrt" or "mysqrt" to fix this issue.

Printing a NaN might cause issues with the string catched by the tests
on some platform. Therefore assume that "0" is correct and "fix" the
USE_MYMATH=OFF version by checking if the number is negative and
eventually returning "0" before calling "sqrt" or "mysqrt".
Extend ExternalProjectLocal test to cover CMAKE_CACHE_DEFAULT_ARGS
Merge topic 'xcode-inherit-warning-flags' into next

3563e4d3 Xcode: Inherit global settings in per-target WARNING_CFLAGS (#15224)
5c5c1e3c CMake Nightly Date Stamp
Merge topic 'ExternalProject_CMAKE_CACHE_DEFAULT_ARGS' into next

fdbfbaaa Extend ExternalProjectLocal test to cover CMAKE_CACHE_DEFAULT_ARGS
8c951a35 Fix Tutorial tests when USE_MYMATH is OFF
ff7da72d ExternalProject: Add unit tests for CMAKE_CACHE_DEFAULT_ARGS
b3bd0fb1 ExternalProject: Add CMAKE_CACHE_DEFAULT_ARGS arguments
cmSystemTools: Use const_cast more locally

It is only needed for the second argument to strtoul.  Avoid casting
earlier to keep the safety checks elsewhere.
Merge topic 'VERSION_no_sscanf' into next

9a8b7669 cmSystemTools: Use const_cast more locally
Merge topic 'fix--D-command-line-parsing'

aee7e4a0 cmCacheManager: parse -D flags more strictly
368e8de4 Tests: test -D parsing on the command line
Merge topic 'cpack-bundle-codesign'

bd3fbf36 CPack: Add support for code signing of bundles on MacOS
Merge topic 'wince-tests'

5bd29b88 Tests: Run Tutorial steps 1-4 as tests for Windows CE
Merge topic 'doc-fix-html-favicon'

ca83c39c Utilities/Sphinx: Fix html_favicon configuration
Merge topic 'unix-icon-install'

fb13502f QtDialog: install the 128x128 icon
fcb4541a QtDialog: don't install desktop file bits on Apple
Merge topic 'doc-add_compile_options'

352cbb6e Help: Reference add_compile_options from add_definitions (#15225)
a9f8c50a Help: Clarify add_compile_options documentation (#15225)
Merge topic 'dev/alternate-generator-binaries'

f04e0a2b ninja: Find alternate Ninja-compatible binaries
CheckStructHasMember: Avoid clang -Wall breakage (#15203)

With CMAKE_C_COMPILER=clang and CMAKE_C_FLAGS='-Wall -Werror', this test
breaks with -Werror,-Wuninitialized.  Fix this by getting rid of the
temporary variable.
Merge topic 'CheckStructHasMember-avoid-breakage-on-Wall' into next

8d6ba358 CheckStructHasMember: Avoid clang -Wall breakage (#15203)
Merge branch 'master' into next