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

Add CMake build tree files

This commit is contained in:
Ben Thompson
2016-07-13 18:12:37 -05:00
parent 3bee340d5f
commit 424628349b
116 changed files with 4183 additions and 155 deletions

28
utils/CMakeLists.txt Normal file
View File

@@ -0,0 +1,28 @@
add_subdirectory(boost_idb)
add_subdirectory(startup)
add_subdirectory(common)
add_subdirectory(configcpp)
add_subdirectory(loggingcpp)
add_subdirectory(messageqcpp)
add_subdirectory(threadpool)
add_subdirectory(rwlock)
add_subdirectory(dataconvert)
add_subdirectory(joiner)
add_subdirectory(rowgroup)
add_subdirectory(cacheutils)
add_subdirectory(funcexp)
add_subdirectory(udfsdk)
add_subdirectory(compress)
add_subdirectory(batchloader)
add_subdirectory(ddlcleanup)
add_subdirectory(mysqlcl_idb)
add_subdirectory(querystats)
add_subdirectory(jemalloc)
add_subdirectory(windowfunction)
add_subdirectory(idbdatafile)
add_subdirectory(idbhdfs)
add_subdirectory(winport)
add_subdirectory(thrift)
add_subdirectory(querytele)

View File

@@ -0,0 +1,98 @@
#
# Not used
#
#
#original Makefile.am contents follow:
## Copyright (C) 2014 InfiniDB, Inc.
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; version 2 of
## the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
## MA 02110-1301, USA.
#
## $Id$
#
#ACLOCAL_AMFLAGS = -I ./m4
#
#all-local: bootstrap
# cd utils && $(MAKE) && $(MAKE) install
# cd oam; \
# $(MAKE) -C oamcpp install
# cd snmpd && $(MAKE) && $(MAKE) install
# cd dbcon; \
# $(MAKE) -C execplan install; \
# $(MAKE) -C joblist install
# cd versioning && $(MAKE) && $(MAKE) install
# cd oam && $(MAKE) && $(MAKE) install
# cd versioning && $(MAKE) dbrm tools && $(MAKE) install_dbrm install_tools
# cd writeengine; \
# $(MAKE) -C wrapper install; \
# $(MAKE) -C client install; \
# $(MAKE) -C xml install; \
# $(MAKE) -C redistribute install
# cd dbcon; \
# $(MAKE) -C ddlpackage install; \
# $(MAKE) -C ddlpackageproc install; \
# $(MAKE) -C dmlpackage install; \
# $(MAKE) -C dmlpackageproc install
# cd dbcon && $(MAKE) && $(MAKE) install
# cd exemgr && $(MAKE) && $(MAKE) install
# cd ddlproc && $(MAKE) && $(MAKE) install
# cd dmlproc && $(MAKE) && $(MAKE) install
# cd procmon && $(MAKE) && $(MAKE) install
# cd procmgr && $(MAKE) && $(MAKE) install
# cd oamapps && $(MAKE) && $(MAKE) install
# cd decomsvr && $(MAKE) && $(MAKE) install
# cd primitives && $(MAKE) && $(MAKE) install
# cd tools && $(MAKE) && $(MAKE) install
# cd versioning && $(MAKE) tools install_tools
# $(MAKE) -C writeengine/server install_server
# $(MAKE) -C writeengine/bulk install_bulk
# $(MAKE) -C writeengine/splitter install_splitter
# echo $(CXXFLAGS) $(DEBUG_FLAGS) > buildFlags
#
#compile: all-local
#
#.PHONY: test coverage leakcheck docs bootstrap
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap:
# ./build/genVersion.sh --prefix=$(prefix)
# for subdir in dbcon ddlproc dmlproc exemgr mysql net-snmp oam \
# oamapps decomsvr primitives procmgr procmon qa snmpd tools utils versioning \
# writeengine ; do \
# if test -f $$subdir/Makefile; then \
# $(MAKE) BOOTSTRAP=1 -C $$subdir bootstrap || exit $$?; \
# fi; \
# done
#
#clean: clean-am
# for subdir in dbcon ddlproc dmlproc exemgr mysql net-snmp oam \
# oamapps decomsvr primitives procmgr procmon qa snmpd tools utils versioning \
# writeengine ; do \
# if test -f $$subdir/Makefile; then \
# $(MAKE) BOOTSTRAP=1 -C $$subdir clean || exit $$?; \
# fi; \
# done
#

View File

@@ -0,0 +1,15 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(batchloader_LIB_SRCS batchloader.cpp)
add_library(batchloader SHARED ${batchloader_LIB_SRCS})
set_target_properties(batchloader PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS batchloader DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,43 @@
include_directories(${ENGINE_COMMON_INCLUDES})
set(boost_idb_LIB_SRCS
codecvt_error_category.cpp
cpp_regex_traits.cpp
cregex.cpp
c_regex_traits.cpp
error_code.cpp
fileiter.cpp
future.cpp
greg_month.cpp
icu.cpp
instances.cpp
once.cpp
operations.cpp
path.cpp
path_traits.cpp
portability.cpp
posix_api.cpp
regex.cpp
regex_debug.cpp
regex_raw_buffer.cpp
regex_traits_defaults.cpp
static_mutex.cpp
thread.cpp
tss_null.cpp
unique_path.cpp
usinstances.cpp
utf8_codecvt_facet.cpp
w32_regex_traits.cpp
wc_regex_traits.cpp
wide_posix_api.cpp
windows_file_codecvt.cpp
winstances.cpp)
add_library(boost_idb SHARED ${boost_idb_LIB_SRCS})
#target_link_libraries(boost_idb ${ENGINE_LDFLAGS})
set_target_properties(boost_idb PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS boost_idb DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,14 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(cacheutils_LIB_SRCS cacheutils.cpp)
add_library(cacheutils SHARED ${cacheutils_LIB_SRCS})
set_target_properties(cacheutils PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS cacheutils DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,18 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(common_LIB_SRCS
fixedallocator.cpp
poolallocator.cpp
cgroupconfigurator.cpp
MonitorProcMem.cpp
nullvaluemanip.cpp)
add_library(common SHARED ${common_LIB_SRCS})
set_target_properties(common PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS common DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,20 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(compress_LIB_SRCS
idbcompress.cpp
snappy.cpp
snappy-sinksource.cpp
version1.cpp
snappy-stubs-internal.cpp)
add_definitions(-DNDEBUG)
add_library(compress SHARED ${compress_LIB_SRCS})
set_target_properties(compress PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS compress DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,13 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(configcpp_LIB_SRCS configcpp.cpp xmlparser.cpp configstream.cpp)
add_library(configcpp SHARED ${configcpp_LIB_SRCS})
set_target_properties(configcpp PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS configcpp DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,24 @@
#
# Not used
#
#
#original Makefile.am contents follow:
#AM_CFLAGS = $(idb_cflags)
#noinst_LIBRARIES = libmd5.a
#libmd5_a_SOURCES = md5_dgst.c md5_one.c mem_clr.c
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap:
#

View File

@@ -0,0 +1,14 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(dataconvert_LIB_SRCS dataconvert.cpp)
add_library(dataconvert SHARED ${dataconvert_LIB_SRCS})
set_target_properties(dataconvert PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS dataconvert DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})

View File

@@ -0,0 +1,14 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(ddlcleanuputil_LIB_SRCS ddlcleanuputil.cpp)
add_library(ddlcleanuputil SHARED ${ddlcleanuputil_LIB_SRCS})
set_target_properties(ddlcleanuputil PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS ddlcleanuputil DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,115 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(funcexp_LIB_SRCS
functor.cpp
funcexp.cpp
funcexpwrapper.cpp
func_abs.cpp
func_add_time.cpp
func_ascii.cpp
func_between.cpp
func_bitwise.cpp
func_case.cpp
func_cast.cpp
func_ceil.cpp
func_char.cpp
func_char_length.cpp
func_coalesce.cpp
func_concat.cpp
func_concat_ws.cpp
func_conv.cpp
func_crc32.cpp
func_date.cpp
func_date_add.cpp
func_date_format.cpp
func_day.cpp
func_dayname.cpp
func_dayofweek.cpp
func_dayofyear.cpp
func_div.cpp
func_elt.cpp
func_exp.cpp
func_extract.cpp
func_find_in_set.cpp
func_floor.cpp
func_from_days.cpp
func_from_unixtime.cpp
func_get_format.cpp
func_greatest.cpp
func_hex.cpp
func_hour.cpp
func_idbpartition.cpp
func_if.cpp
func_ifnull.cpp
func_in.cpp
func_inet_aton.cpp
func_inet_ntoa.cpp
func_insert.cpp
func_instr.cpp
func_isnull.cpp
func_last_day.cpp
func_lcase.cpp
func_least.cpp
func_left.cpp
func_length.cpp
func_lpad.cpp
func_ltrim.cpp
func_makedate.cpp
func_maketime.cpp
func_math.cpp
func_microsecond.cpp
func_md5.cpp
func_minute.cpp
func_mod.cpp
func_month.cpp
func_monthname.cpp
func_nullif.cpp
func_pow.cpp
func_period_add.cpp
func_period_diff.cpp
func_quarter.cpp
func_rand.cpp
func_regexp.cpp
func_repeat.cpp
func_replace.cpp
func_reverse.cpp
func_right.cpp
func_round.cpp
func_rpad.cpp
func_rtrim.cpp
func_second.cpp
func_sec_to_time.cpp
func_sha.cpp
func_sign.cpp
func_str_to_date.cpp
func_strcmp.cpp
func_substr.cpp
func_substring_index.cpp
func_sysdate.cpp
func_time.cpp
func_time_format.cpp
func_time_to_sec.cpp
func_timediff.cpp
func_timestampdiff.cpp
func_to_days.cpp
func_trim.cpp
func_truncate.cpp
func_ucase.cpp
func_unhex.cpp
func_unix_timestamp.cpp
func_week.cpp
func_weekday.cpp
func_year.cpp
func_yearweek.cpp)
add_library(funcexp SHARED ${funcexp_LIB_SRCS})
set_target_properties(funcexp PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS funcexp DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,22 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(idbdatafile_LIB_SRCS
BufferedFile.cpp
IDBDataFile.cpp
IDBFactory.cpp
IDBFileSystem.cpp
IDBLogger.cpp
IDBPolicy.cpp
PosixFileSystem.cpp
UnbufferedFile.cpp)
add_library(idbdatafile SHARED ${idbdatafile_LIB_SRCS})
set_target_properties(idbdatafile PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS idbdatafile DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})

View File

@@ -0,0 +1,4 @@
add_subdirectory(hdfs-20)
add_subdirectory(hdfs-12)

View File

@@ -0,0 +1,22 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(hdfs-12_LIB_SRCS
../hdfs-shared/HdfsFile.cpp
../hdfs-shared/HdfsFileSystem.cpp
../hdfs-shared/HdfsFsCache.cpp
../hdfs-shared/HdfsRdwrFileBuffer.cpp
../hdfs-shared/HdfsRdwrMemBuffer.cpp
../hdfs-shared/HdfsPlugin.cpp)
add_library(hdfs-12 SHARED ${hdfs-12_LIB_SRCS})
set_target_properties(hdfs-12 PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS hdfs-12 DESTINATION ${ENGINE_LIBDIR})
install(PROGRAMS setenv-hdfs-12 DESTINATION ${ENGINE_BINDIR})

View File

@@ -0,0 +1,24 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(hdfs-20_LIB_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/../hdfs-shared/HdfsFile.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../hdfs-shared/HdfsFileSystem.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../hdfs-shared/HdfsFsCache.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../hdfs-shared/HdfsRdwrFileBuffer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../hdfs-shared/HdfsRdwrMemBuffer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../hdfs-shared/HdfsPlugin.cpp)
add_definitions(-DCDH4)
add_library(hdfs-20 SHARED ${hdfs-20_LIB_SRCS})
set_target_properties(hdfs-20 PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS hdfs-20 DESTINATION ${ENGINE_LIBDIR})
install(PROGRAMS setenv-hdfs-20 DESTINATION ${ENGINE_BINDIR})

View File

@@ -0,0 +1,22 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### install files ###############
#original Makefile.am contents follow:
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap: install-data-am
# mkdir -p $(libdir)
# $(install_sh) libjemalloc.so.3.3.0 $(libdir)
#

View File

@@ -0,0 +1,15 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(joiner_LIB_SRCS joiner.cpp tuplejoiner.cpp joinpartition.cpp)
add_library(joiner SHARED ${joiner_LIB_SRCS})
set_target_properties(joiner PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS joiner DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,57 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(loggingcpp_LIB_SRCS
message.cpp
messagelog.cpp
logger.cpp
errorcodes.cpp
sqllogger.cpp
stopwatch.cpp
idberrorinfo.cpp)
add_library(loggingcpp SHARED ${loggingcpp_LIB_SRCS})
set_target_properties(loggingcpp PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS loggingcpp DESTINATION ${ENGINE_LIBDIR})
install(FILES MessageFile.txt ErrorMessage.txt DESTINATION ${ENGINE_ETCDIR})
#
#
# TODO BEN FIX ME
#
#
execute_process(
COMMAND ./genMsgId.pl > messageids-temp.h
COMMAND diff -abBq messageids-temp.h messageids.h >/dev/null 2>&1;
if [ $$? -ne 0 ]; then
mv -f messageids-temp.h messageids.h;
else
touch messageids.h;
fi;
rm -f messageids-temp.h
)
execute_process(
COMMAND ./genErrId.pl > errorids-temp.h
COMMAND diff -abBq errorids-temp.h errorids.h >/dev/null 2>&1;
if [ $$? -ne 0 ]; then
mv -f errorids-temp.h errorids.h;
else
touch errorids.h;
fi;
rm -f errorids-temp.h
)
########### install files ###############
#install(FILES loggingid.h messageobj.h messagelog.h messageids.h logger.h errorcodes.h exceptclasses.h sqllogger.h stopwatch.h idberrorinfo.h errorids.h DESTINATION include)
#install(FILES MessageFile.txt ErrorMessage.txt DESTINATION )

View File

@@ -0,0 +1,18 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(messageqcpp_LIB_SRCS
messagequeue.cpp
bytestream.cpp
socketparms.cpp
inetstreamsocket.cpp
iosocket.cpp
compressed_iss.cpp)
add_library(messageqcpp SHARED ${messageqcpp_LIB_SRCS})
set_target_properties(messageqcpp PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS messageqcpp DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,48 @@
#
# Not used
#
#
#original Makefile.am contents follow:
## Copyright (C) 2014 InfiniDB, Inc.
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; version 2 of
## the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
## MA 02110-1301, USA.
#
## $Id$
### Process this file with automake to produce Makefile.in
#
#AM_CPPFLAGS = $(idb_common_includes) $(idb_cppflags)
#AM_CFLAGS = $(idb_cflags)
#AM_CXXFLAGS = $(idb_cxxflags)
#AM_LDFLAGS = -version-info 1:0:0 $(idb_ldflags)
#lib_LTLIBRARIES = libmulticast.la
#libmulticast_la_SOURCES = multicast.cpp
#include_HEADERS = multicast.h
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap: install-data-am
#

View File

@@ -0,0 +1,28 @@
include_directories( /usr/include/libxml2 ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(mysqlcl_idb_LIB_SRCS
column.cc
command.cc
conn.cc
conn_uds.cc
drizzle.cc
field.cc
handshake.cc
pack.cc
query.cc
result.cc
row.cc
sha1.cc
state.cc)
add_library(mysqlcl_idb SHARED ${mysqlcl_idb_LIB_SRCS})
set_target_properties(mysqlcl_idb PROPERTIES VERSION 1.0.0 SOVERSION 1)
#install(TARGETS mysqlcl_idb DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,14 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(querystats_LIB_SRCS querystats.cpp)
add_library(querystats SHARED ${querystats_LIB_SRCS})
set_target_properties(querystats PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS querystats DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,20 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(querytele_LIB_SRCS
querytele.cpp
queryteleclient.cpp
querytele_constants.cpp
querytele_types.cpp
QueryTeleService.cpp
queryteleprotoimpl.cpp)
add_library(querytele SHARED ${querytele_LIB_SRCS})
set_target_properties(querytele PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS querytele DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,16 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(rowgroup_LIB_SRCS rowaggregation.cpp rowgroup.cpp)
#librowgroup_la_CXXFLAGS = $(march_flags) $(AM_CXXFLAGS)
add_library(rowgroup SHARED ${rowgroup_LIB_SRCS})
set_target_properties(rowgroup PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS rowgroup DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,15 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(rwlock_LIB_SRCS rwlock.cpp rwlock_local.cpp)
add_library(rwlock SHARED ${rwlock_LIB_SRCS})
set_target_properties(rwlock PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS rwlock DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,10 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
ADD_DEFINITIONS(-fPIC -DPIC)
add_library(idbboot STATIC installdir.cpp)
INSTALL(TARGETS idbboot DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,13 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(threadpool_LIB_SRCS weightedthreadpool.cpp threadpool.cpp prioritythreadpool.cpp)
add_library(threadpool SHARED ${threadpool_LIB_SRCS})
set_target_properties(threadpool PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS threadpool DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,22 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(thrift_LIB_SRCS
thrift/Thrift.cpp
thrift/server/TSimpleServer.cpp
thrift/transport/TSocket.cpp
thrift/transport/TServerSocket.cpp
thrift/transport/TBufferTransports.cpp
thrift/TApplicationException.cpp)
add_definitions(-DTHRIFT_SQUELCH_CONSOLE_OUTPUT)
add_library(thrift SHARED ${thrift_LIB_SRCS})
set_target_properties(thrift PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS thrift DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,18 @@
include_directories( ${ENGINE_COMMON_INCLUDES}
../../dbcon/mysql
../../mysql/include
../../mysql/sql
../../mysql/regex )
########### next target ###############
set(udfsdk_LIB_SRCS udfinfinidb.cpp)
add_definitions(-DMYSQL_DYNAMIC_PLUGIN)
add_library(udfsdk SHARED ${udfsdk_LIB_SRCS})
set_target_properties(udfsdk PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS udfsdk DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,31 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(windowfunction_LIB_SRCS
framebound.cpp
frameboundrange.cpp
frameboundrow.cpp
idborderby.cpp
windowframe.cpp
windowfunction.cpp
windowfunctiontype.cpp
wf_count.cpp
wf_lead_lag.cpp
wf_min_max.cpp
wf_nth_value.cpp
wf_ntile.cpp
wf_percentile.cpp
wf_ranking.cpp
wf_row_number.cpp
wf_stats.cpp
wf_sum_avg.cpp)
add_library(windowfunction SHARED ${windowfunction_LIB_SRCS})
set_target_properties(windowfunction PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS windowfunction DESTINATION ${ENGINE_LIBDIR})

View File

@@ -0,0 +1,3 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )