cmGeneratorTarget: Compute the object directory early.

Ensure it is populated before tracing dependencies.
cmTarget: Use GetSourceFiles for languages.
cmTarget: Rename AddSource method for backward compatibility.

Add a new AddSource method for future use.
cmSourceFileLocation: Make copyable and assignable.

This allows using it in containers and algorithms.
cmTarget: Add a method to obtain list of filenames for sources.
cmTarget: Use string API to add sources to cmTarget objects.

Continue to call GetOrCreateSource where necessary to create
cmSourceFile objects which have the GENERATED attribute set.
cmTarget: Remove AddSourceFile method

It is no longer used.
cmSourceFileLocation: Remove unused Update method.

The string overload is never called. This allows the removal of
the unused UpdateDirectory method.
cmSourceFileLocation: Collapse full path for directory comparisons.

Otherwise Matches() ends up doing a comparison of
the directories

 /path/to/dir/subdir/..

and

 /path/to/dir

as strings and not matching where it should.
cmTarget: Store strings instead of cmSourceFile* to represent SOURCES.

This will allow the strings to contain generator expressions.

At this point, generator expressions are still not part of the
SOURCES property when it is read.
Genex: Evaluate TARGET_OBJECTS as a normal expression.
cmStringCommand: Add GENEX_STRIP subcommand.

Strip out any generator expressions in the input string.
cmGlobalGenerator: Add interface to call ForceLinkerLanguages

Avoid calling it too early when cmGeneratorTarget instances don't
yet exist.
CTestCustom: Suppress Clang "will never be executed" warnings in lexers

Clang -Wunreachable-code-return warns on some generated lexer code.
FindGTest: Teach GTEST_ADD_TESTS about TEST_P

Previously the GTEST_ADD_TESTS function would miss parameterized tests
because it only considered TEST and TEST_F.  Add TEST_P to the list of
considered tests and will run all instantiations of this parameterized
test together.

This is perhaps not as correct as searching for all instantiations of
this parameterized test and separating those into separate runs, but
this will at least run tests that were previously missing.

For reference: https://code.google.com/p/googletest/wiki/Documentation
ExternalProject: Add EXCLUDE_FROM_MAIN option to ExternalProject_Add_Step

When adding a new step using ExternalProject_Add_Step, the main target
will depend on this step.
This option allows one to add a step that will not be executed when the
main target for the external project is executed.
ExternalProject: Add EXCLUDE_FROM_ALL option to ExternalProject_Add

When adding a new external project, the "all" target will depend on
this.
This option allows one to add an external project will not be executed
when the "all" target is executed.
The reason for this is that an external project could be useful, for
example, only for running tests, and therefore not necessary during
the build.
Help: Workaround Qt 4.8 assistant bug in CSS handling.

Assistant in Qt 4.8 does not handle css import paths relative to
the includer.  This is fixed in Qt 4.8 commit b95750a275 (Assistant: Set
the url on created QNetworkReply objects., 2014-03-31).  It is unknown
whether there will be a further Qt 4.8 release containing that commit.

Use a CMake script to pre-replace the content prior to generating the
qch file.  An alternative workaround of moving the files or adding
"_static" to the import path did not seem to work for existing Qt 4.8
versions.

The bug was fixed in the Qt 5 branch before Qt 5.0. The Qt 5 assistant
renders this workaround'ed version correctly too.
cmIDEOptions: Factor FlagMap update out to separate method

This will allow it to be re-used in other code paths.
VS: Support mapping flags with values following separately (#14858)

Add a "UserFollowing" special flag table entry indicator to say that a
flag expects a value in a following argument.  Teach cmIDEOptions to
handle such flags.