mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Add CSV storage engine to cmake files
This commit is contained in:
parent
e568bb053e
commit
748b6043f6
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,9 @@ PROJECT(MySql)
|
|||
# This reads user configuration, generated by configure.js.
|
||||
INCLUDE(win/configure.data)
|
||||
|
||||
# Hardcode support for CSV storage engine
|
||||
SET(WITH_CSV_STORAGE_ENGINE TRUE)
|
||||
|
||||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/include/mysql_version.h.in
|
||||
${CMAKE_SOURCE_DIR}/include/mysql_version.h @ONLY)
|
||||
|
||||
|
@ -18,6 +21,12 @@ IF(WITH_BLACKHOLE_STORAGE_ENGINE)
|
|||
SET (mysql_se_decls "${mysql_se_decls}, blackhole_hton")
|
||||
SET (mysql_se_ha_src ${mysql_se_ha_src} "../sql/ha_blackhole.cc")
|
||||
ENDIF(WITH_BLACKHOLE_STORAGE_ENGINE)
|
||||
IF(WITH_CSV_STORAGE_ENGINE)
|
||||
ADD_DEFINITIONS(-D WITH_CSV_STORAGE_ENGINE)
|
||||
SET (mysql_se_htons "${mysql_se_htons}, &tina_hton")
|
||||
SET (mysql_se_decls "${mysql_se_decls}, tina_hton")
|
||||
SET (mysql_se_ha_src ${mysql_se_ha_src} "../storage/csv/ha_tina.cc")
|
||||
ENDIF(WITH_CSV_STORAGE_ENGINE)
|
||||
IF(WITH_EXAMPLE_STORAGE_ENGINE)
|
||||
ADD_DEFINITIONS(-D WITH_EXAMPLE_STORAGE_ENGINE)
|
||||
SET (mysql_se_htons "${mysql_se_htons}, &example_hton")
|
||||
|
|
Loading…
Reference in a new issue