You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
32 lines
765 B
CMake
Executable File
32 lines
765 B
CMake
Executable File
include_directories(${ENGINE_COMMON_INCLUDES} ../../dbcon/mysql)
|
|
|
|
# ########## next target ###############
|
|
|
|
set(regr_LIB_SRCS
|
|
regr_avgx.cpp
|
|
regr_avgy.cpp
|
|
regr_count.cpp
|
|
regr_slope.cpp
|
|
regr_intercept.cpp
|
|
regr_r2.cpp
|
|
corr.cpp
|
|
regr_sxx.cpp
|
|
regr_syy.cpp
|
|
regr_sxy.cpp
|
|
covar_pop.cpp
|
|
covar_samp.cpp
|
|
moda.cpp
|
|
)
|
|
|
|
add_definitions(-DMYSQL_DYNAMIC_PLUGIN)
|
|
|
|
columnstore_library(regr ${regr_LIB_SRCS})
|
|
columnstore_link(regr PRIVATE loggingcpp)
|
|
|
|
set(regr_mysql_LIB_SRCS regrmysql.cpp modamysql.cpp)
|
|
|
|
columnstore_mysql_plugin_library(regr_mysql SHARED ${regr_mysql_LIB_SRCS})
|
|
add_dependencies(regr_mysql external_boost)
|
|
|
|
set_target_properties(regr_mysql PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../../)
|