summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-07-29 08:43:00 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-01-06 14:30:18 +0100
commit7cec30a15f4712e782bb1011d2b93e6bf77cce6b (patch)
tree256ab9e7468aa1318f1fa7d26387693cd850349a /plugins
parent3ef94e711f35b17efdb2a3638a60a67021a44190 (diff)
Add cmake build
Task-number: QTBUG-89091 Change-Id: Ie511e6bc262f197b2c21e52ec7696a0d50e06d18 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt3
-rw-r--r--plugins/designer/.prev_CMakeLists.txt41
-rw-r--r--plugins/designer/CMakeLists.txt41
3 files changed, 85 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
new file mode 100644
index 00000000..b044415f
--- /dev/null
+++ b/plugins/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from plugins.pro.
+
+add_subdirectory(designer)
diff --git a/plugins/designer/.prev_CMakeLists.txt b/plugins/designer/.prev_CMakeLists.txt
new file mode 100644
index 00000000..3b66627f
--- /dev/null
+++ b/plugins/designer/.prev_CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from designer.pro.
+
+#####################################################################
+## qtchartsdesigner Generic Library:
+#####################################################################
+
+qt_internal_add_cmake_library(qtchartsdesigner
+ MODULE
+ INSTALL_DIRECTORY "$$[QT_INSTALL_PLUGINS]/designer"
+ SOURCES
+ qchartsplugin.cpp qchartsplugin.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ../../../include
+ PUBLIC_LIBRARIES
+ Qt::Charts
+ Qt::Core
+ Qt::Designer
+ Qt::Gui
+)
+
+# Resources:
+set(qchartsplugin_resource_files
+ "qcharts.png"
+)
+
+qt_internal_add_resource(qtchartsdesigner "qchartsplugin"
+ PREFIX
+ "/images"
+ FILES
+ ${qchartsplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:designer.pro:<TRUE>:
+# DEPENDPATH = "$$PWD"
+# INSTALLS = "target"
+# TEMPLATE = "lib"
+# target.path = "$$[QT_INSTALL_PLUGINS]/designer"
+
+qt_autogen_tools_initial_setup(qtchartsdesigner)
diff --git a/plugins/designer/CMakeLists.txt b/plugins/designer/CMakeLists.txt
new file mode 100644
index 00000000..3b66627f
--- /dev/null
+++ b/plugins/designer/CMakeLists.txt
@@ -0,0 +1,41 @@
+# Generated from designer.pro.
+
+#####################################################################
+## qtchartsdesigner Generic Library:
+#####################################################################
+
+qt_internal_add_cmake_library(qtchartsdesigner
+ MODULE
+ INSTALL_DIRECTORY "$$[QT_INSTALL_PLUGINS]/designer"
+ SOURCES
+ qchartsplugin.cpp qchartsplugin.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ../../../include
+ PUBLIC_LIBRARIES
+ Qt::Charts
+ Qt::Core
+ Qt::Designer
+ Qt::Gui
+)
+
+# Resources:
+set(qchartsplugin_resource_files
+ "qcharts.png"
+)
+
+qt_internal_add_resource(qtchartsdesigner "qchartsplugin"
+ PREFIX
+ "/images"
+ FILES
+ ${qchartsplugin_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:designer.pro:<TRUE>:
+# DEPENDPATH = "$$PWD"
+# INSTALLS = "target"
+# TEMPLATE = "lib"
+# target.path = "$$[QT_INSTALL_PLUGINS]/designer"
+
+qt_autogen_tools_initial_setup(qtchartsdesigner)