1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

stubs and cmake formatting

This commit is contained in:
Leonid Fedorov
2025-05-20 02:18:54 +00:00
committed by Leonid Fedorov
parent 2036e521c7
commit 6db2dc668f
87 changed files with 1186 additions and 1039 deletions

View File

@@ -1,26 +1,44 @@
include_directories( ${ENGINE_COMMON_INCLUDES}
../../dbcon/mysql )
########### next target ###############
include_directories(${ENGINE_COMMON_INCLUDES} ../../dbcon/mysql)
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)
# ########## 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_library(regr ${regr_LIB_SRCS})
add_dependencies(regr loggingcpp)
install(TARGETS regr DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
install(
TARGETS regr
DESTINATION ${ENGINE_LIBDIR}
COMPONENT columnstore-engine
)
set(regr_mysql_LIB_SRCS regrmysql.cpp modamysql.cpp)
columnstore_library(regr_mysql ${regr_mysql_LIB_SRCS})
add_dependencies(regr_mysql external_boost)
install(TARGETS regr_mysql DESTINATION ${MARIADB_PLUGINDIR} COMPONENT columnstore-engine)
install(
TARGETS regr_mysql
DESTINATION ${MARIADB_PLUGINDIR}
COMPONENT columnstore-engine
)
set_target_properties(regr_mysql PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../../)
set_target_properties(regr_mysql PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../../)