Revert "cmTarget: Make the source files depend on the config."

This reverts commit 1e59035450ab535251ae5dbfb51101d7c1e67c87.
Merge topic 'target-transitive-sources' into next

87c6e7fb Revert "cmTarget: Make the source files depend on the config."
Revert "cmGeneratorTarget: Don't add computed sources to the target."

This reverts commit 352536f2cdcf7218f1ab4090ee6688700e7f4381.
Merge topic 'target-transitive-sources' into next

4e85d29d Revert "cmGeneratorTarget: Don't add computed sources to the target."
Revert "Simplify multiple config handling."

This reverts commit ff473f2f954401591455eb595e38f3d65964128e.
Merge topic 'target-transitive-sources' into next

e27e59e4 Revert "Simplify multiple config handling."
Revert "Revert "cmGeneratorTarget: Don't add computed sources to the target.""

This reverts commit 4e85d29d1f8f0ee1c4907d750f3c9973d62890e1.
Revert "Revert "cmTarget: Make the source files depend on the config.""

This reverts commit 87c6e7fbce7d8fb637d01bf08dbd4d27d0d791ac.
Merge topic 'target-transitive-sources' into next

ee1f4c8b Revert "Revert "cmTarget: Make the source files depend on the config.""
1e2a05f5 Revert "Revert "cmGeneratorTarget: Don't add computed sources to the target.""
cmGeneratorTarget: Don't add computed sources to the target.

When config-specifig generator expressions are supported, a target
may have SOURCES:

 src1.cpp $<$<CONFIG:Debug>:src2.cpp> $<$<CONFIG:Release>:src3.cpp>

and computation in cmTargetTraceDependencies would add each of the
src2.cpp and src3.cpp sources back to the target without a
config-guard.  That would make the sources be used later when
generating the buildsystem, regardless of the configuration.

Avoid calling AddSource on the target with the result of the
GetSourceFiles call.
cmTarget: Make the source files depend on the config.

Disallow the use of config-specific source files with
the Visual Studio and Xcode generators. They don't have
any way to represent the condition currently.

Use the same common-config API in cmQtAutoGenerators. While
it accepts config-specific files, it doesn't have to support
multiple configurations yet.

Loop over the configs in cmTargetTraceDependencies
and cmGlobalGenerator::WriteSummary and consume all source
files.

Loop over the configs in cmComputeTargetDepends and compute the
object library dependencies for each config.
Merge topic 'target-transitive-sources' into next

6b6ac694 cmTarget: Make the source files depend on the config.
aa2a8943 cmGeneratorTarget: Don't add computed sources to the target.