1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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

View File

@ -0,0 +1,56 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
add_subdirectory(shared)
add_subdirectory(dictionary)
add_subdirectory(xml)
add_subdirectory(wrapper)
add_subdirectory(bulk)
add_subdirectory(client)
add_subdirectory(redistribute)
add_subdirectory(splitter)
add_subdirectory(server)
########### install files ###############
#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: Makefile.am 878 2009-04-03 20:34:32Z rdempsey $
#
#SUBDIRS = shared dictionary xml wrapper bulk client redistribute splitter \
# server
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap:
# for subdir in $(SUBDIRS); \
# do $(MAKE) -C $$subdir bootstrap || exit $$?; \
# done
#

View File

@ -0,0 +1,40 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(we_bulk_STAT_SRCS
we_brmreporter.cpp
we_bulkload.cpp
we_bulkloadbuffer.cpp
we_bulkstatus.cpp
we_colopbulk.cpp
we_colbuf.cpp
we_colbufcompressed.cpp
we_colbufmgr.cpp
we_colbufmgrdctnry.cpp
we_colbufsec.cpp
we_colextinf.cpp
we_columninfo.cpp
we_columninfocompressed.cpp
we_columnautoinc.cpp
we_extentstripealloc.cpp
we_tableinfo.cpp
we_tempxmlgendata.cpp
we_workers.cpp)
ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
add_library(we_bulk STATIC ${we_bulk_STAT_SRCS})
REMOVE_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
########### next target ###############
set(cpimport.bin_SRCS cpimport.cpp)
add_executable(cpimport.bin ${cpimport.bin_SRCS})
target_link_libraries(cpimport.bin ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} we_bulk we_xml)
install(TARGETS cpimport.bin DESTINATION ${ENGINE_BINDIR})

View File

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

View File

@ -0,0 +1,44 @@
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
########### install files ###############
install(FILES we_dctnry.h DESTINATION include)
#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: Makefile.am 864 2009-04-02 19:22:49Z rdempsey $
### Process this file with automake to produce Makefile.in
#
#include_HEADERS = we_dctnry.h
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap: install-data-am
#

View File

@ -0,0 +1,44 @@
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
########### install files ###############
install(FILES we_indexlist.h we_freemgr.h we_indextree.h DESTINATION include)
#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: Makefile.am 864 2009-04-02 19:22:49Z rdempsey $
### Process this file with automake to produce Makefile.in
#
#include_HEADERS = we_indexlist.h we_freemgr.h we_indextree.h
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap: install-data-am
#

View File

@ -0,0 +1,17 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(writeengineredistribute_LIB_SRCS
we_redistribute.cpp
we_redistributecontrol.cpp
we_redistributecontrolthread.cpp
we_redistributeworkerthread.cpp)
add_library(writeengineredistribute SHARED ${writeengineredistribute_LIB_SRCS})
set_target_properties(writeengineredistribute PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS writeengineredistribute DESTINATION ${ENGINE_LIBDIR})

View File

@ -0,0 +1,24 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(WriteEngineServer_SRCS
we_server.cpp
we_readthread.cpp
we_ddlcommandproc.cpp
we_observer.cpp
we_dataloader.cpp
we_brmrprtparser.cpp
we_dmlcommandproc.cpp
we_cleartablelockcmd.cpp
we_cpifeederthread.cpp
we_getfilesizes.cpp)
add_executable(WriteEngineServer ${WriteEngineServer_SRCS})
target_link_libraries(WriteEngineServer ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool writeengineredistribute)
install(TARGETS WriteEngineServer DESTINATION ${ENGINE_BINDIR})

View File

@ -0,0 +1,44 @@
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
########### install files ###############
install(FILES we_index.h we_define.h we_type.h we_fileop.h we_blockop.h we_dbfileop.h we_obj.h we_log.h we_simplesyslog.h we_convertor.h we_brm.h we_macro.h we_config.h we_cache.h we_stats.h we_bulkrollbackmgr.h we_typeext.h we_chunkmanager.h we_bulkrollbackfilecompressed.h we_bulkrollbackfilecompressedhdfs.h we_bulkrollbackfile.h we_rbmetawriter.h we_dbrootextenttracker.h we_confirmhdfsdbfile.h DESTINATION include)
#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: Makefile.am 3720 2012-04-04 18:18:49Z rdempsey $
### Process this file with automake to produce Makefile.in
#
#include_HEADERS = we_index.h we_define.h we_type.h we_fileop.h we_blockop.h we_dbfileop.h we_obj.h we_log.h we_simplesyslog.h we_convertor.h we_brm.h we_macro.h we_config.h we_cache.h we_stats.h we_bulkrollbackmgr.h we_typeext.h we_chunkmanager.h we_bulkrollbackfilecompressed.h we_bulkrollbackfilecompressedhdfs.h we_bulkrollbackfile.h we_rbmetawriter.h we_dbrootextenttracker.h we_confirmhdfsdbfile.h
#
#test:
#
#coverage:
#
#leakcheck:
#
#docs:
#
#bootstrap: install-data-am
#

View File

@ -0,0 +1,23 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(cpimport_SRCS
we_splitterapp.cpp
we_cmdargs.cpp
we_sdhandler.cpp
we_respreadthread.cpp
we_filereadthread.cpp
we_splclient.cpp
we_brmupdater.cpp
we_tablelockgrabber.cpp
we_xmlgetter.cpp)
add_executable(cpimport ${cpimport_SRCS})
target_link_libraries(cpimport ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} batchloader threadpool)
install(TARGETS cpimport DESTINATION ${ENGINE_BINDIR})

View File

@ -0,0 +1,45 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(writeengine_LIB_SRCS
writeengine.cpp
we_colop.cpp
we_colopcompress.cpp
we_dctnrycompress.cpp
we_tablemetadata.cpp
../shared/we_blockop.cpp
../shared/we_brm.cpp
../shared/we_cache.cpp
../shared/we_chunkmanager.cpp
../shared/we_config.cpp
../shared/we_convertor.cpp
../shared/we_dbfileop.cpp
../shared/we_define.cpp
../shared/we_fileop.cpp
../shared/we_log.cpp
../shared/we_stats.cpp
../shared/we_bulkrollbackmgr.cpp
../shared/we_simplesyslog.cpp
../shared/we_bulkrollbackfilecompressed.cpp
../shared/we_bulkrollbackfilecompressedhdfs.cpp
../shared/we_bulkrollbackfile.cpp
../shared/we_rbmetawriter.cpp
../shared/we_dbrootextenttracker.cpp
../shared/we_confirmhdfsdbfile.cpp
../dictionary/we_dctnry.cpp
../xml/we_xmlop.cpp
../xml/we_xmljob.cpp
../xml/we_xmlgendata.cpp
../xml/we_xmlgenproc.cpp)
add_definitions(-D_FILE_OFFSET_BITS=64)
add_library(writeengine SHARED ${writeengine_LIB_SRCS})
set_target_properties(writeengine PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS writeengine DESTINATION ${ENGINE_LIBDIR})

View File

@ -0,0 +1,18 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
set(we_xml_STAT_SRCS
we_xmlop.cpp
we_xmljob.cpp
we_xmlgendata.cpp
we_xmlgenproc.cpp)
add_definitions(-D_FILE_OFFSET_BITS=64)
add_library(we_xml STATIC ${we_xml_STAT_SRCS})
INSTALL(TARGETS we_xml DESTINATION ${ENGINE_LIBDIR})