summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/configure.cmake
blob: 87728099d2691cd735d89e8b0eef2dc2f1822e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55


#### Inputs



#### Libraries

qt_find_package(PostgreSQL PROVIDED_TARGETS PostgreSQL::PostgreSQL)
qt_find_package(ODBC PROVIDED_TARGETS ODBC::ODBC)
qt_find_package(SQLite3)


#### Tests



#### Features

qt_feature("sql_db2" PRIVATE
    LABEL "DB2 (IBM)"
    CONDITION libs.db2 OR FIXME
)
qt_feature("sql_ibase" PRIVATE
    LABEL "InterBase"
    CONDITION libs.ibase OR FIXME
)
qt_feature("sql_mysql" PRIVATE
    LABEL "MySql"
    CONDITION libs.mysql OR FIXME
)
qt_feature("sql_oci" PRIVATE
    LABEL "OCI (Oracle)"
    CONDITION libs.oci OR FIXME
)
qt_feature("sql_odbc" PRIVATE
    LABEL "ODBC"
    CONDITION QT_FEATURE_datestring AND ODBC_FOUND
)
qt_feature("sql_psql" PRIVATE
    LABEL "PostgreSQL"
    CONDITION PostgreSQL_FOUND
)
qt_feature("sql_sqlite2" PRIVATE
    LABEL "SQLite2"
    CONDITION libs.sqlite2 OR FIXME
)
qt_feature("sql_sqlite" PRIVATE
    LABEL "SQLite"
    CONDITION QT_FEATURE_datestring AND SQLite3_FOUND
)
qt_feature("sql_tds" PRIVATE
    LABEL "TDS (Sybase)"
    CONDITION QT_FEATURE_datestring AND libs.tds OR FIXME
)