diff options
author | Mariusz PlucinĚski <mplucinski@mplucinski.com> | 2016-02-13 10:30:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-02-16 15:45:19 (GMT) |
commit | 9beb2744d7685fca9cd5717308d4457dffdefcdc (patch) | |
tree | 7a7771944d85d24eeb3ec9328bbb2f42e6df151c /Tests/QtAutogen/Adir/bar | |
parent | 8dfb6f8b372b159c050b6ea5e16b4e44dd9ed095 (diff) | |
download | CMake-9beb2744d7685fca9cd5717308d4457dffdefcdc.zip CMake-9beb2744d7685fca9cd5717308d4457dffdefcdc.tar.gz CMake-9beb2744d7685fca9cd5717308d4457dffdefcdc.tar.bz2 |
Automoc: Fix support of files with the same name (#12873)
Diffstat (limited to 'Tests/QtAutogen/Adir/bar')
-rw-r--r-- | Tests/QtAutogen/Adir/bar/foo.cpp | 4 | ||||
-rw-r--r-- | Tests/QtAutogen/Adir/bar/foo.h | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Adir/bar/foo.cpp b/Tests/QtAutogen/Adir/bar/foo.cpp new file mode 100644 index 0000000..3f5e0a9 --- /dev/null +++ b/Tests/QtAutogen/Adir/bar/foo.cpp @@ -0,0 +1,4 @@ +#include "foo.h" + +bar::foo::foo() {} +bar::foo::~foo() {} diff --git a/Tests/QtAutogen/Adir/bar/foo.h b/Tests/QtAutogen/Adir/bar/foo.h new file mode 100644 index 0000000..daf2367 --- /dev/null +++ b/Tests/QtAutogen/Adir/bar/foo.h @@ -0,0 +1,10 @@ +#include <QObject> + +namespace bar { + class foo: public QObject { + Q_OBJECT + public: + foo(); + ~foo(); + }; +} |