aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2019-09-17 10:31:18 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2019-09-19 15:36:44 +0000
commitf7970f339fa483d1d2ac18f4c638c32fdf28516b (patch)
tree51712f7666b6a759c4768acb8850cf319727e4c5 /src
parentca07e263cfd16830b19f69ed135dba25bdf19442 (diff)
Add initial support for CMake
Task-number: QTBUG-78308 Change-Id: Id740d70f7682259066323d2ca68e8d285b8309cd Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/coap/CMakeLists.txt37
2 files changed, 40 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..4a43929
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from src.pro.
+
+add_subdirectory(coap)
diff --git a/src/coap/CMakeLists.txt b/src/coap/CMakeLists.txt
new file mode 100644
index 0000000..6dab10c
--- /dev/null
+++ b/src/coap/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from coap.pro.
+
+#####################################################################
+## Coap Module:
+#####################################################################
+
+add_qt_module(Coap
+ SOURCES
+ qcoapclient.cpp qcoapclient.h qcoapclient_p.h
+ qcoapconnection.cpp qcoapconnection_p.h
+ qcoapglobal.h
+ qcoapinternalmessage.cpp qcoapinternalmessage_p.h
+ qcoapinternalreply.cpp qcoapinternalreply_p.h
+ qcoapinternalrequest.cpp qcoapinternalrequest_p.h
+ qcoapmessage.cpp qcoapmessage.h qcoapmessage_p.h
+ qcoapnamespace.cpp qcoapnamespace.h qcoapnamespace_p.h
+ qcoapoption.cpp qcoapoption.h qcoapoption_p.h
+ qcoapprotocol.cpp qcoapprotocol_p.h
+ qcoapqudpconnection.cpp qcoapqudpconnection_p.h
+ qcoapreply.cpp qcoapreply.h qcoapreply_p.h
+ qcoaprequest.cpp qcoaprequest.h qcoaprequest_p.h
+ qcoapresource.cpp qcoapresource.h qcoapresource_p.h
+ qcoapresourcediscoveryreply.cpp qcoapresourcediscoveryreply.h qcoapresourcediscoveryreply_p.h
+ qcoapsecurityconfiguration.cpp qcoapsecurityconfiguration.h
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Network
+ PUBLIC_LIBRARIES
+ Qt::Core
+)
+
+#### Keys ignored in scope 1:.:.:coap.pro:<TRUE>:
+# _LOADED = "qt_module"
+add_qt_docs(
+ doc/qtcoap.qdocconf
+)
+