Documentation: Fix minor typo thecommand -> the command
Merge topic 'doc-add_library-typo' into next

38825396 Documentation: Fix minor typo thecommand -> the command
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.
Merge topic 'xcode-inherit-warning-flags' into next

820e95d0 Xcode: Inherit global settings in per-target WARNING_CFLAGS (#15224)
cmSystemTools: reimplement verson comparison without sscanf()

This now has the advantage that it works with version strings with any number
of components.
Merge topic 'VERSION_no_sscanf' into next

ef09df64 cmSystemTools: reimplement verson comparison without sscanf()
Tests/Tutorial: Fix 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".
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.

Extend ExternalProjectLocal test to cover CMAKE_CACHE_DEFAULT_ARGS.
ExternalProject: Add unit tests for CMAKE_CACHE_DEFAULT_ARGS
Merge topic 'ExternalProject_CMAKE_CACHE_DEFAULT_ARGS' into next

609037f4 ExternalProject: Add unit tests for CMAKE_CACHE_DEFAULT_ARGS
98cdb658 ExternalProject: Add CMAKE_CACHE_DEFAULT_ARGS arguments
36cf8a1e Tests/Tutorial: Fix when USE_MYMATH is OFF