diff options
Diffstat (limited to 'src/libcommuni/tests/build')
| -rw-r--r-- | src/libcommuni/tests/build/build.pro | 6 | ||||
| -rw-r--r-- | src/libcommuni/tests/build/embed/embed.pro | 11 | ||||
| -rw-r--r-- | src/libcommuni/tests/build/embed/main.cpp | 19 | ||||
| -rw-r--r-- | src/libcommuni/tests/build/install/install.pro | 12 | ||||
| -rw-r--r-- | src/libcommuni/tests/build/install/main.cpp | 19 | ||||
| -rw-r--r-- | src/libcommuni/tests/build/namespace/main.cpp | 19 | ||||
| -rw-r--r-- | src/libcommuni/tests/build/namespace/namespace.pro | 12 |
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 |
