CMake Nightly Date Stamp
cmTarget: Drop unused GetTransitiveTargetClosure argument

The method is never called with any headTarget besides "this".
cmTarget: Rename Get{TransitiveTarget => LinkImplementation}Closure

The method computes the transitive closure of targets starting with
the current target link implementation libraries.  Clarify the name.
cmTarget: Cache GetLinkImplementationClosure results

Store them internally and return by reference to avoid duplicate
computation.
CMake Nightly Date Stamp
Encoding:  Change to only set LC_CTYPE to fix encoding issues with libarchive.

Changing all categories with LC_ALL causes test failures in some locales.
For example, in some locales, the decimal characer could be a comma instead of period.
Merge topic 'setlocale' into next

c746b00e Encoding:  Change to only set LC_CTYPE to fix encoding issues with libarchive.
cmake: Fix read-after-free while checking command-line arguments

Since commit v2.8.12~300^2~1 (CLI: Suppress the unused warning if the
key value pair is cached, 2013-05-16), cmake::SetCacheArgs saves a
cachedValue pointer and may cause the memory to be freed (by setting the
cache entry) before reading it again.  Fix this by saving the old value
in a separate string.
VS: Move VS-only API out of cmGlobalGenerator

Move the IsDependedOn method to cmGlobalVisualStudio7Generator
since that is the only caller.
CTest: Add Jacoco Coverage functionality

Add the ability to parse the XML output of the Jacoco tool.

Jacoco (www.eclemma.org/jacoco) is a Java coverage tool.
Add and integrate a class for the parser and
include a test which utilizes the new parser.
Merge topic 'add_jacoco_coverage_parsing' into next

558c2190 CTest: Add Jacoco Coverage functionality
VS: Fix subproject .sln dependencies on custom targets

Each project listed in a .sln must be marked (or not) as part of the
"default build" for each configuration.  For targets created by the
add_custom_target() command we add them to the default build if they
are not excluded in some way or if another target depends on them.
In the top-level .sln, a custom target is excluded if it is not
created with the ALL option to add_custom_target.  In subdirectory
.sln files, a target may also be excluded if it is not within the
directory and is brought into the solution only due to a dependency
from another target in the solution.

Fix the "IsPartOfDefaultBuild" and "IsDependedOn" methods to check
every target to be included in the .sln for a dependency on the
custom target.  Otherwise transitive dependencies through targets
not in the current subdirectory will not be considered.

Extend the SubProject test with a custom target to cover this case.

Reported-by: William Deurwaarder <William.Deurwaarder@tomtom.com>
Reported-by: Dirk Steenpass <dirk.steenpass@gmail.com>
cmake: Fix read-after-free while checking command-line arguments

Since commit v2.8.12~300^2~1 (CLI: Suppress the unused warning if the
key value pair is cached, 2013-05-16), cmake::SetCacheArgs saves a
cachedValue pointer and may cause the memory to be freed (by setting the
cache entry) before reading it again.  Fix this by saving the old value
in a separate string.
Merge topic 'dev/variable-lookup'

e17a69bc cmDefinitions: Use a hashmap for faster checks
3b21705d cmDefinitions: Avoid a find-then-insert when setting variables
5abfde6c cmDefinitions: Don't store parent lookups
Merge topic 'hpux-ProcessorCount'

dbc0f63d ProcessorCount: Update for HPUX 11iv3
Merge topic 'doc-WCDH-align-macros'

34f95bcf WCDH: Document the alignof and alignas wrapper macros.
Merge branch 'master' into next
Merge branch 'backport-fix-read-after-free' into fix-read-after-free

Resolve conflicts in Source/cmake.cxx in our favor.
Merge topic 'fix-read-after-free' into next

23ffb72a cmake: Fix read-after-free while checking command-line arguments
Merge branch 'backport-fix-read-after-free' into release