CMake/Tests/QtAutomoc/Adir
Stephen Kelly 4de71786e8 Ensure that the build interface includes have been added.
This is needed in the case that Automoc is used, as that calls
GetIncludeDirectories, which may cache the resulting include dirs
too early in the generate step.

Also, because the automoc step is so early, we can't cache the
include directories at that point. At that point the build interface
of all dependencies are not populated yet, so we'd be caching the
includes before appending the build interface. Only start caching
when we're definitely generating the buildsystem. At that point, the
includes should be stable.

We still need to invoke AppendBuildInterfaceIncludes
in the GlobalGenerator because the build interface includes affect
mostly the dependencies of targets (such as the automoc targets),
rather than the targets themselves, so the build interface needs
to be appended for all targets before generation is done.
2013-02-08 12:54:27 +01:00
..
CMakeLists.txt Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
libA.cpp Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
libA.h Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00