You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Add CMake build tree files
This commit is contained in:
5
primitives/CMakeLists.txt
Normal file
5
primitives/CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
add_subdirectory(blockcache)
|
||||
add_subdirectory(linux-port)
|
||||
add_subdirectory(primproc)
|
||||
|
21
primitives/blockcache/CMakeLists.txt
Normal file
21
primitives/blockcache/CMakeLists.txt
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} ../primproc)
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(dbbc_STAT_SRCS
|
||||
blockcacheclient.cpp
|
||||
blockrequestprocessor.cpp
|
||||
fileblockrequestqueue.cpp
|
||||
filebuffer.cpp
|
||||
filebuffermgr.cpp
|
||||
filerequest.cpp
|
||||
iomanager.cpp
|
||||
stats.cpp
|
||||
fsutils.cpp)
|
||||
|
||||
#libdbbc_a_CXXFLAGS = $(march_flags) $(AM_CXXFLAGS)
|
||||
|
||||
add_library(dbbc STATIC ${dbbc_STAT_SRCS})
|
||||
|
||||
INSTALL (TARGETS dbbc DESTINATION ${ENGINE_LIBDIR})
|
14
primitives/linux-port/CMakeLists.txt
Normal file
14
primitives/linux-port/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} ../blockcache ../primproc)
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(processor_STAT_SRCS primitiveprocessor.cpp dictionary.cpp column.cpp)
|
||||
|
||||
#libprocessor_a_CXXFLAGS = $(march_flags) $(AM_CXXFLAGS)
|
||||
|
||||
add_library(processor STATIC ${processor_STAT_SRCS})
|
||||
|
||||
INSTALL (TARGETS processor DESTINATION ${ENGINE_LIBDIR})
|
||||
|
31
primitives/primproc/CMakeLists.txt
Normal file
31
primitives/primproc/CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} ../blockcache ../linux-port)
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(PrimProc_SRCS
|
||||
primproc.cpp
|
||||
batchprimitiveprocessor.cpp
|
||||
bppseeder.cpp
|
||||
bppsendthread.cpp
|
||||
columncommand.cpp
|
||||
command.cpp
|
||||
dictstep.cpp
|
||||
filtercommand.cpp
|
||||
logger.cpp
|
||||
passthrucommand.cpp
|
||||
primitiveserver.cpp
|
||||
pseudocc.cpp
|
||||
rtscommand.cpp
|
||||
umsocketselector.cpp)
|
||||
|
||||
#PrimProc_CXXFLAGS = $(march_flags) $(AM_CXXFLAGS)
|
||||
|
||||
add_executable(PrimProc ${PrimProc_SRCS})
|
||||
|
||||
target_link_libraries(PrimProc ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool cacheutils dbbc processor)
|
||||
|
||||
install(TARGETS PrimProc DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
Reference in New Issue
Block a user