summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/staticLibraryCycle
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-12-08 19:22:27 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-12-13 12:50:18 (GMT)
commit6ce6fd426ee7649a40c2f253dbc5f814650f0992 (patch)
treecac6840f845f60df35ed21f7bb8c739006cb01a1 /Tests/QtAutogen/staticLibraryCycle
parent45b6776ab301f4b5ec51e27863ffe061b1a0d60a (diff)
downloadCMake-6ce6fd426ee7649a40c2f253dbc5f814650f0992.zip
CMake-6ce6fd426ee7649a40c2f253dbc5f814650f0992.tar.gz
CMake-6ce6fd426ee7649a40c2f253dbc5f814650f0992.tar.bz2
Autogen: Tests: Separate StaticLibraryCycle test
Diffstat (limited to 'Tests/QtAutogen/staticLibraryCycle')
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/CMakeLists.txt17
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/a.cpp7
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/a.h13
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/b.cpp7
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/b.h13
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/c.cpp7
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/c.h13
-rw-r--r--Tests/QtAutogen/staticLibraryCycle/main.cpp8
8 files changed, 0 insertions, 85 deletions
diff --git a/Tests/QtAutogen/staticLibraryCycle/CMakeLists.txt b/Tests/QtAutogen/staticLibraryCycle/CMakeLists.txt
deleted file mode 100644
index 144a435..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-# Test AUTOMOC and AUTORCC on source files with the same name
-# but in different subdirectories
-
-set(CMAKE_AUTOMOC ON)
-
-# Cyclic static libraries
-add_library(slc_a STATIC a.cpp)
-target_link_libraries(slc_a ${QT_LIBRARIES} slc_b)
-
-add_library(slc_b STATIC b.cpp)
-target_link_libraries(slc_b ${QT_LIBRARIES} slc_c)
-
-add_library(slc_c STATIC c.cpp)
-target_link_libraries(slc_c ${QT_LIBRARIES} slc_a)
-
-add_executable(slc main.cpp)
-target_link_libraries(slc ${QT_LIBRARIES} slc_a)
diff --git a/Tests/QtAutogen/staticLibraryCycle/a.cpp b/Tests/QtAutogen/staticLibraryCycle/a.cpp
deleted file mode 100644
index 97cc66e..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/a.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "a.h"
-#include "b.h"
-
-A::A()
-{
- B b;
-}
diff --git a/Tests/QtAutogen/staticLibraryCycle/a.h b/Tests/QtAutogen/staticLibraryCycle/a.h
deleted file mode 100644
index 7176170..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/a.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef CLASSA_HPP
-#define CLASSA_HPP
-
-#include <QObject>
-
-class A : public QObject
-{
- Q_OBJECT
-public:
- A();
-};
-
-#endif
diff --git a/Tests/QtAutogen/staticLibraryCycle/b.cpp b/Tests/QtAutogen/staticLibraryCycle/b.cpp
deleted file mode 100644
index a807d89..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/b.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "b.h"
-#include "c.h"
-
-B::B()
-{
- C c;
-}
diff --git a/Tests/QtAutogen/staticLibraryCycle/b.h b/Tests/QtAutogen/staticLibraryCycle/b.h
deleted file mode 100644
index ededbd8..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/b.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef CLASSB_HPP
-#define CLASSB_HPP
-
-#include <QObject>
-
-class B : public QObject
-{
- Q_OBJECT
-public:
- B();
-};
-
-#endif
diff --git a/Tests/QtAutogen/staticLibraryCycle/c.cpp b/Tests/QtAutogen/staticLibraryCycle/c.cpp
deleted file mode 100644
index 7d427c2..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/c.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "c.h"
-#include "a.h"
-
-C::C()
-{
- A a;
-}
diff --git a/Tests/QtAutogen/staticLibraryCycle/c.h b/Tests/QtAutogen/staticLibraryCycle/c.h
deleted file mode 100644
index 20f3725..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/c.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef CLASSC_HPP
-#define CLASSC_HPP
-
-#include <QObject>
-
-class C : public QObject
-{
- Q_OBJECT
-public:
- C();
-};
-
-#endif
diff --git a/Tests/QtAutogen/staticLibraryCycle/main.cpp b/Tests/QtAutogen/staticLibraryCycle/main.cpp
deleted file mode 100644
index f5b7fd2..0000000
--- a/Tests/QtAutogen/staticLibraryCycle/main.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "a.h"
-
-int main(int argv, char** args)
-{
- // Object instances
- A a;
- return 0;
-}