You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
34 lines
621 B
CMake
Executable File
34 lines
621 B
CMake
Executable File
include_directories(${ENGINE_COMMON_INCLUDES} ../../dbcon/mysql)
|
|
|
|
set(udfsdk_LIB_SRCS
|
|
udfsdk.cpp
|
|
mcsv1_udaf.cpp
|
|
allnull.cpp
|
|
ssq.cpp
|
|
avg_mode.cpp
|
|
avgx.cpp
|
|
distinct_count.cpp
|
|
)
|
|
|
|
add_definitions(-DMYSQL_DYNAMIC_PLUGIN)
|
|
|
|
columnstore_library(udfsdk ${udfsdk_LIB_SRCS})
|
|
|
|
add_dependencies(udfsdk loggingcpp)
|
|
|
|
install(
|
|
TARGETS udfsdk
|
|
DESTINATION ${ENGINE_LIBDIR}
|
|
COMPONENT columnstore-engine
|
|
)
|
|
|
|
set(udf_mysql_LIB_SRCS udfmysql.cpp)
|
|
|
|
add_library(udf_mysql SHARED ${udf_mysql_LIB_SRCS})
|
|
|
|
install(
|
|
TARGETS udf_mysql
|
|
DESTINATION ${MARIADB_PLUGINDIR}
|
|
COMPONENT columnstore-engine
|
|
)
|