CMake/Tests/QtAutomoc
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
..
Adir Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
Bdir Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
sub automoc: add more test cases 2011-11-10 22:12:03 +01:00
CMakeLists.txt Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
abc.cpp automoc: add test for including a moc_abc_p.cpp file 2011-11-22 20:52:21 +01:00
abc.h automoc: add a test for including both abc.moc and moc_abc.cpp 2011-11-22 20:51:59 +01:00
abc_p.h automoc: add test for including a moc_abc_p.cpp file 2011-11-22 20:52:21 +01:00
bar.cpp automoc: add more test cases 2011-11-10 22:12:03 +01:00
blub.cpp automoc: add more test cases 2011-11-10 22:12:03 +01:00
blub.h automoc: add more test cases 2011-11-10 22:12:03 +01:00
calwidget.cpp Add a test for automoc 2011-08-16 02:13:26 +02:00
calwidget.h Add a test for automoc 2011-08-16 02:13:26 +02:00
codeeditor.cpp Add a test for automoc 2011-08-16 02:13:26 +02:00
codeeditor.h Add a test for automoc 2011-08-16 02:13:26 +02:00
foo.cpp Add copyright notices 2011-10-22 19:43:34 +02:00
foo.h Add copyright notices 2011-10-22 19:43:34 +02:00
libC.cpp Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
libC.h Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
main.cpp Ensure that the build interface includes have been added. 2013-02-08 12:54:27 +01:00
private_slot.cpp Add a test case for the use of Q_PRIVATE_SLOT. 2011-11-22 22:26:42 +01:00
private_slot.h Add a test case for the use of Q_PRIVATE_SLOT. 2011-11-22 22:26:42 +01:00
xyz.cpp automoc: add test for including the moc file from another header 2011-11-22 20:52:13 +01:00
xyz.h automoc: add test for including the moc file from another header 2011-11-22 20:52:13 +01:00
yaf.cpp automoc: add special handling for including basename_p.moc, with test 2011-11-22 22:01:13 +01:00
yaf.h automoc: add special handling for including basename_p.moc, with test 2011-11-22 22:01:13 +01:00
yaf_p.h automoc: add special handling for including basename_p.moc, with test 2011-11-22 22:01:13 +01:00