diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-13 16:31:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-13 19:07:46 (GMT) |
commit | b494308dab7ca3fe94ce558ddddc71bcaf1a8e6d (patch) | |
tree | 1562aacc96ceec2e1d1551736cfdc44e56b83c04 /Tests/QtAutogen/mocDepends/testGenLib.cpp | |
parent | d0f1581719644cc9b40a3ad4425bd37369f11c7e (diff) | |
download | CMake-b494308dab7ca3fe94ce558ddddc71bcaf1a8e6d.zip CMake-b494308dab7ca3fe94ce558ddddc71bcaf1a8e6d.tar.gz CMake-b494308dab7ca3fe94ce558ddddc71bcaf1a8e6d.tar.bz2 |
Autogen: Tests: Backport tests for _autogen target dependencies
Diffstat (limited to 'Tests/QtAutogen/mocDepends/testGenLib.cpp')
-rw-r--r-- | Tests/QtAutogen/mocDepends/testGenLib.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocDepends/testGenLib.cpp b/Tests/QtAutogen/mocDepends/testGenLib.cpp new file mode 100644 index 0000000..c14e159 --- /dev/null +++ b/Tests/QtAutogen/mocDepends/testGenLib.cpp @@ -0,0 +1,12 @@ + +#include "testGenLib.hpp" + +int main() +{ + SimpleLib libObject; + LObject lobject; + return 0; +} + +// Depend on and AUTOMOC the SimpleLib header simpleLib.hpp +#include "moc_simpleLib.cpp" |