1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-20 09:07:44 +03:00
2018-06-05 13:54:17 -05:00

476 B

CMakeLists.txt

For Columnstore 1.2, you compile your function by including it in the CMakeLists.txt file for the udfsdk.

You need only add the new .cpp files to the udfsdk_LIB_SRCS target list:

set(udfsdk_LIB_SRCS udfsdk.cpp mcsv1_udaf.cpp allnull.cpp ssq.cpp median.cpp avg_mode.cpp)

If you create a new file for your MariaDB Aggregate function, add it to the target list for udf_mysql_LIB_SRCS:

set(udf_mysql_LIB_SRCS udfmysql.cpp)