You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
MCOL-523 documentation part 2
This commit is contained in:
15
utils/udfsdk/docs/source/usage/cmakelists.rst
Normal file
15
utils/udfsdk/docs/source/usage/cmakelists.rst
Normal file
@@ -0,0 +1,15 @@
|
||||
.. _cmakelists:
|
||||
|
||||
CMakeLists.txt
|
||||
==============
|
||||
|
||||
For Columnstore 1.1, 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)
|
||||
|
||||
Reference in New Issue
Block a user