summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/Adir
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-11-25 14:12:04 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2016-11-29 16:16:33 (GMT)
commitc4d4becf8b79f68534eb8320ccd63218afa4ca31 (patch)
tree8b1bb531cfdb586c6c2729712919f435495bab3a /Tests/QtAutogen/Adir
parent2599f5d64b6d81967de9ba6f11420ec7815f618d (diff)
downloadCMake-c4d4becf8b79f68534eb8320ccd63218afa4ca31.zip
CMake-c4d4becf8b79f68534eb8320ccd63218afa4ca31.tar.gz
CMake-c4d4becf8b79f68534eb8320ccd63218afa4ca31.tar.bz2
QtAutogen tests: Move the complex test case to a subdirectory
Diffstat (limited to 'Tests/QtAutogen/Adir')
-rw-r--r--Tests/QtAutogen/Adir/CMakeLists.txt8
-rw-r--r--Tests/QtAutogen/Adir/libA.cpp12
-rw-r--r--Tests/QtAutogen/Adir/libA.h18
3 files changed, 0 insertions, 38 deletions
diff --git a/Tests/QtAutogen/Adir/CMakeLists.txt b/Tests/QtAutogen/Adir/CMakeLists.txt
deleted file mode 100644
index a1c36ff..0000000
--- a/Tests/QtAutogen/Adir/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
-
-add_library(libA SHARED libA.cpp)
-target_link_libraries(libA LINK_PUBLIC ${QT_QTCORE_TARGET})
-generate_export_header(libA)
diff --git a/Tests/QtAutogen/Adir/libA.cpp b/Tests/QtAutogen/Adir/libA.cpp
deleted file mode 100644
index f79f24a..0000000
--- a/Tests/QtAutogen/Adir/libA.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-
-#include "libA.h"
-
-LibA::LibA(QObject* parent)
- : QObject(parent)
-{
-}
-
-int LibA::foo()
-{
- return 0;
-}
diff --git a/Tests/QtAutogen/Adir/libA.h b/Tests/QtAutogen/Adir/libA.h
deleted file mode 100644
index c4eb9f7..0000000
--- a/Tests/QtAutogen/Adir/libA.h
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#ifndef LIBA_H
-#define LIBA_H
-
-#include "liba_export.h"
-
-#include <QObject>
-
-class LIBA_EXPORT LibA : public QObject
-{
- Q_OBJECT
-public:
- explicit LibA(QObject* parent = 0);
-
- int foo();
-};
-
-#endif