summaryrefslogtreecommitdiffstats
path: root/libmariadb/include/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /libmariadb/include/CMakeLists.txt
parentInitial commit. (diff)
downloadmariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz
mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libmariadb/include/CMakeLists.txt')
-rw-r--r--libmariadb/include/CMakeLists.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/libmariadb/include/CMakeLists.txt b/libmariadb/include/CMakeLists.txt
new file mode 100644
index 00000000..b9eed535
--- /dev/null
+++ b/libmariadb/include/CMakeLists.txt
@@ -0,0 +1,41 @@
+SET(MARIADB_CLIENT_INCLUDES ${CC_SOURCE_DIR}/include/mariadb_com.h
+ ${CC_SOURCE_DIR}/include/mysql.h
+ ${CC_SOURCE_DIR}/include/mariadb_stmt.h
+ ${CC_SOURCE_DIR}/include/ma_pvio.h
+ ${CC_SOURCE_DIR}/include/ma_tls.h
+ ${CC_BINARY_DIR}/include/mariadb_version.h
+ ${CC_SOURCE_DIR}/include/ma_list.h
+ ${CC_SOURCE_DIR}/include/errmsg.h
+ ${CC_SOURCE_DIR}/include/mariadb_dyncol.h
+ ${CC_SOURCE_DIR}/include/mariadb_ctype.h
+ ${CC_SOURCE_DIR}/include/mariadb_rpl.h
+ )
+IF(NOT IS_SUBPROJECT)
+ SET(MARIADB_CLIENT_INCLUDES ${MARIADB_CLIENT_INCLUDES}
+ ${CC_SOURCE_DIR}/include/mysqld_error.h
+ )
+ENDIF()
+SET(MYSQL_ADDITIONAL_INCLUDES
+ ${CC_SOURCE_DIR}/include/mysql/client_plugin.h
+ ${CC_SOURCE_DIR}/include/mysql/plugin_auth_common.h
+ ${CC_SOURCE_DIR}/include/mysql/plugin_auth.h
+ )
+SET(MARIADB_ADDITIONAL_INCLUDES
+ ${CC_SOURCE_DIR}/include/mariadb/ma_io.h
+ )
+IF(WIN32)
+ SET(WIX_INCLUDES ${MARIADB_CLIENT_INCLUDES} ${MARIADB_ADDITIONAL_INCLUDES} ${MYSQL_ADDITIONAL_INCLUDES} PARENT_SCOPE)
+ENDIF()
+
+INSTALL(FILES
+ ${MARIADB_CLIENT_INCLUDES}
+ DESTINATION ${INSTALL_INCLUDEDIR}
+ COMPONENT Development)
+INSTALL(FILES
+ ${MYSQL_ADDITIONAL_INCLUDES}
+ DESTINATION ${INSTALL_INCLUDEDIR}/mysql
+ COMPONENT Development)
+INSTALL(FILES
+ ${MARIADB_ADDITIONAL_INCLUDES}
+ DESTINATION ${INSTALL_INCLUDEDIR}/mariadb
+ COMPONENT Development)