summaryrefslogtreecommitdiffstats
path: root/src/libcommuni/tests/build
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-09-09 19:00:56 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-09-09 19:02:23 +0200
commit8a6d4b06f2291c363f3dea17837ed20893852453 (patch)
treec091375499e35eaa1810586454e0834c06e6c9b2 /src/libcommuni/tests/build
parentf554a27046f203e56a07baaf214d90834942e3f5 (diff)
downloadmanager-8a6d4b06f2291c363f3dea17837ed20893852453.tar.gz
manager-8a6d4b06f2291c363f3dea17837ed20893852453.zip
Cleanup repo with some directories
Diffstat (limited to 'src/libcommuni/tests/build')
-rw-r--r--src/libcommuni/tests/build/build.pro6
-rw-r--r--src/libcommuni/tests/build/embed/embed.pro11
-rw-r--r--src/libcommuni/tests/build/embed/main.cpp19
-rw-r--r--src/libcommuni/tests/build/install/install.pro12
-rw-r--r--src/libcommuni/tests/build/install/main.cpp19
-rw-r--r--src/libcommuni/tests/build/namespace/main.cpp19
-rw-r--r--src/libcommuni/tests/build/namespace/namespace.pro12
7 files changed, 98 insertions, 0 deletions
diff --git a/src/libcommuni/tests/build/build.pro b/src/libcommuni/tests/build/build.pro
new file mode 100644
index 0000000..4f1eb29
--- /dev/null
+++ b/src/libcommuni/tests/build/build.pro
@@ -0,0 +1,6 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = subdirs
+SUBDIRS += embed install namespace
diff --git a/src/libcommuni/tests/build/embed/embed.pro b/src/libcommuni/tests/build/embed/embed.pro
new file mode 100644
index 0000000..6dc3b5d
--- /dev/null
+++ b/src/libcommuni/tests/build/embed/embed.pro
@@ -0,0 +1,11 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = app
+TARGET = embed
+QT += network
+
+include(../../../src/src.pri)
+
+SOURCES += main.cpp
diff --git a/src/libcommuni/tests/build/embed/main.cpp b/src/libcommuni/tests/build/embed/main.cpp
new file mode 100644
index 0000000..48449a8
--- /dev/null
+++ b/src/libcommuni/tests/build/embed/main.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2008-2014 The Communi Project
+ *
+ * This test is free, and not covered by the BSD license. There is no
+ * restriction applied to their modification, redistribution, using and so on.
+ * You can study them, modify them, use them in your own program - either
+ * completely or partially.
+ */
+
+#include <IrcCore>
+#include <IrcModel>
+#include <IrcUtil>
+
+int main()
+{
+ IrcConnection s;
+ IrcBuffer b;
+ IrcTextFormat f;
+}
diff --git a/src/libcommuni/tests/build/install/install.pro b/src/libcommuni/tests/build/install/install.pro
new file mode 100644
index 0000000..5aa824e
--- /dev/null
+++ b/src/libcommuni/tests/build/install/install.pro
@@ -0,0 +1,12 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = app
+TARGET = embed
+QT += network
+
+CONFIG += communi
+COMMUNI += core model util
+
+SOURCES += main.cpp
diff --git a/src/libcommuni/tests/build/install/main.cpp b/src/libcommuni/tests/build/install/main.cpp
new file mode 100644
index 0000000..e006424
--- /dev/null
+++ b/src/libcommuni/tests/build/install/main.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2008-2014 The Communi Project
+ *
+ * This test is free, and not covered by the BSD license. There is no
+ * restriction applied to their modification, redistribution, using and so on.
+ * You can study them, modify them, use them in your own program - either
+ * completely or partially.
+ */
+
+#include <IrcCore/ircconnection.h>
+#include <IrcModel/ircbuffer.h>
+#include <IrcUtil/irctextformat.h>
+
+int main()
+{
+ IrcConnection s;
+ IrcBuffer b;
+ IrcTextFormat f;
+}
diff --git a/src/libcommuni/tests/build/namespace/main.cpp b/src/libcommuni/tests/build/namespace/main.cpp
new file mode 100644
index 0000000..73d7e10
--- /dev/null
+++ b/src/libcommuni/tests/build/namespace/main.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2008-2014 The Communi Project
+ *
+ * This test is free, and not covered by the BSD license. There is no
+ * restriction applied to their modification, redistribution, using and so on.
+ * You can study them, modify them, use them in your own program - either
+ * completely or partially.
+ */
+
+#include <IrcCore>
+#include <IrcModel>
+#include <IrcUtil>
+
+int main()
+{
+ Communi::IrcConnection s;
+ Communi::IrcBuffer b;
+ Communi::IrcTextFormat f;
+}
diff --git a/src/libcommuni/tests/build/namespace/namespace.pro b/src/libcommuni/tests/build/namespace/namespace.pro
new file mode 100644
index 0000000..fdd1c92
--- /dev/null
+++ b/src/libcommuni/tests/build/namespace/namespace.pro
@@ -0,0 +1,12 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = app
+TARGET = embed
+QT += network
+
+DEFINES += IRC_NAMESPACE=Communi
+include(../../../src/src.pri)
+
+SOURCES += main.cpp