summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/oci
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@qt.io>2019-09-05 10:07:24 +0300
committerVille Voutilainen <ville.voutilainen@qt.io>2019-09-05 08:24:07 +0000
commitb2a11daaa177805d36e33ca57e94093919107269 (patch)
tree0b4ac36476c65609125f013c82ce65cf8007b243 /src/plugins/sqldrivers/oci
parent4ee762cf25e4aa0801297d1a8152ecbb598a02b5 (diff)
cmake: Enable building of the oci plugin
Change-Id: I003d6da10c7e47402fb373d3956817817328cf0f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'src/plugins/sqldrivers/oci')
-rw-r--r--src/plugins/sqldrivers/oci/CMakeLists.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/plugins/sqldrivers/oci/CMakeLists.txt b/src/plugins/sqldrivers/oci/CMakeLists.txt
new file mode 100644
index 0000000000..35747834f8
--- /dev/null
+++ b/src/plugins/sqldrivers/oci/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from oci.pro.
+
+#####################################################################
+## qsqloci Plugin:
+#####################################################################
+
+add_qt_plugin(qsqloci
+ TYPE sqldrivers
+ CLASS_NAME QOCIDriverPlugin
+ SOURCES
+ main.cpp
+ qsql_oci.cpp qsql_oci_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::SqlPrivate
+ PUBLIC_LIBRARIES
+ Oracle::OCI
+ Qt::Core
+ Qt::Sql
+)
+
+#### Keys ignored in scope 1:.:.:oci.pro:<TRUE>:
+# OTHER_FILES = "oci.json"
+# PLUGIN_CLASS_NAME = "QOCIDriverPlugin"
+
+## Scopes:
+#####################################################################
+
+extend_target(qsqloci CONDITION APPLE
+ LINK_OPTIONS
+ "-Wl,-flat_namespace,-U,_environ"
+)