Revert "cmQtAutogen: Skip during bootstrap of CMake"

This reverts commit 2377210994eb7a829e68a41919a550d2025185c8.
Revert "Extract FinalizeTargetCompileDefinitions from cmGeneratorTarget."

This reverts commit e8a45a373fa5f43d024059754734a0dff0f58a4e.
Merge topic 'fix-autogen-definitions' into next

6cb947b Revert "Extract FinalizeTargetCompileDefinitions from cmGeneratorTarget."
c17d029 Revert "cmQtAutogen: Skip during bootstrap of CMake"
cmQtAutogen: Gather tool arguments after creating generator targets.

One of the side-effects in cmGlobalGenerator::CreateGeneratorTargets
is that compile definitions from the makefile are appended to the
target. Compile definitions are read from the target directly for
generating the buildsystem, and generating the Autogen info too
early caused incomplete compile definitions to be used (#14535).

The compile definitions related code will be moved out of
CreateGeneratorTargets in a followup commit. However this change
also has the independent benefit that it causes the
GetLinkInterfaceDependentStringProperty method to be called in
SetupAutoGenerateTarget, after the creation of generator targets. In
CMake 4.0, the GetLinkInterfaceDependentStringProperty will move to
the cmGeneratorTarget class, and this is a necessary prerequisite to
that.
Merge topic 'fix-autogen-definitions' into next

0018cbd cmQtAutogen: Gather tool arguments after creating generator targets.
cmQtAutogen: Skip during bootstrap of CMake
Merge topic 'fix-autogen-definitions' into next

a749182 cmQtAutogen: Skip during bootstrap of CMake
cmQtAutogen: Gather tool arguments after creating generator targets.

One of the side-effects in cmGlobalGenerator::CreateGeneratorTargets
is that compile definitions from the makefile are appended to the
target. Compile definitions are read from the target directly for
generating the buildsystem, and generating the Autogen info too
early caused incomplete compile definitions to be used (#14535).

The compile definitions related code will be moved out of
CreateGeneratorTargets in a followup commit. However this change
also has the independent benefit that it causes the
GetLinkInterfaceDependentStringProperty method to be called in
SetupAutoGenerateTarget, after the creation of generator targets. In
CMake 4.0, the GetLinkInterfaceDependentStringProperty will move to
the cmGeneratorTarget class, and this is a necessary prerequisite to
that.
Merge topic 'fix-autogen-definitions' into next

28ba517 cmQtAutogen: Gather tool arguments after creating generator targets.
Extract FinalizeTargetCompileDefinitions from cmGeneratorTarget.

Call the method early in the generate step.
Merge topic 'fix-autogen-definitions' into next

c971939 Extract FinalizeTargetCompileDefinitions from cmGeneratorTarget.