Overload cmLocalGenerator::AppendDefines to add a list.
Refactor cmTarget::GetCompileDefinitions to use an out-vector, not a string.
Add target property debugging for COMPILE_DEFINITIONS

Use constructs similar to those for COMPILE_OPTIONS. This is a little
different because there is a command to remove_definitions(), so
we can't populate the equivalent target property until generate-time
in cmGlobalGenerator.
Merge topic 'compile-defs-debugging' into next

3919a76 Add target property debugging for COMPILE_DEFINITIONS
00ff09b Refactor cmTarget::GetCompileDefinitions to use an out-vector, not a string.
963a0ba Overload cmLocalGenerator::AppendDefines to add a list.
include: Clarify variable access scope for included file

The wording "Commands in the file are processed immediately as if they
were written in place of the include command" sounds as if some kind of
macro replacement is performed.  This is not accurate.  Update the
wording to describe behavior of the included code in terms of the
variable access scope.
Merge topic 'doc-include-clarify' into next

e934b1f include: Clarify variable access scope for included file
Remove unused and broken code.

It somehow remained after a rebase conflict.
Merge topic 'compile-defs-debugging' into next

cb2ce4a Remove unused and broken code.
Add target property debugging for COMPILE_DEFINITIONS

Use constructs similar to those for COMPILE_OPTIONS. This is a little
different because there is a command to remove_definitions(), so
we can't populate the equivalent target property until generate-time
in cmGlobalGenerator.
Merge topic 'compile-defs-debugging' into next

381368d Add target property debugging for COMPILE_DEFINITIONS
VS: Fix /MAP:mapfile flag mapping (#14282)

We have two mappings for the "/MAP" flag.  The first does not care
whether there is a value and activates the GenerateMapFile boolean
setting.  The second takes a value and puts it in the MapFileName
setting.  The latter must treat the ":" as part of the flag.

This is similar to commit 8ae66bf4 (Fix optionally-valued booleans in VS
10 flag table, 2009-10-23).
Merge topic 'vs-flag-MAP-with-value' into next

f2caf79 VS: Fix /MAP:mapfile flag mapping (#14282)
cmake: On configure error suggest looking at CMake*.log files

When CMake reports failure to configure a project, especially when the
toolchain does not initialize properly, the true reason may be clear
from reading the CMakeFiles/CMake(Output|Error).log files.  Advise users
to look at these files if they exist when configuration fails.

Add RunCMake.Configure test to check that the log files are mentioned
when configuration fails.
Merge topic 'cmake-error-advice' into next

18e1bfb cmake: On configure error suggest looking at CMake*.log files
try_compile: Add COPY_FILE_ERROR option to capture failure

When the COPY_FILE operation fails optionally capture the error message
with a COPY_FILE_ERROR option instead of reporting the error
immediately.  This gives callers a chance to do something else or report
the error.

Teach the RunCMake.try_compile test to cover bad argument combinations
involving COPY_FILE_ERROR.  Teach the TryCompile test to cover the case
of a COPY_FILE error message captured by COPY_FILE_ERROR.
Merge topic 'try_compile-COPY_FILE_ERROR' into next

dd4ebd9 try_compile: Add COPY_FILE_ERROR option to capture failure
Fix TryCompile test COPY_FILE_ERROR failure case

Ensure COPY_FILE fails by trying to put it in a directory that
conflicts with an existing file.
Merge topic 'try_compile-COPY_FILE_ERROR' into next

c404931 Fix TryCompile test COPY_FILE_ERROR failure case
Revert topic compile-defs-debugging.
Merge topic 'compile-defs-debugging' into next

ac89a78 Revert topic compile-defs-debugging.