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:
115
versioning/BRM/CMakeLists.txt
Normal file
115
versioning/BRM/CMakeLists.txt
Normal file
@ -0,0 +1,115 @@
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(brm_LIB_SRCS
|
||||
autoincrementmanager.cpp
|
||||
blockresolutionmanager.cpp
|
||||
brmshmimpl.cpp
|
||||
brmtypes.cpp
|
||||
copylocks.cpp
|
||||
dbrm.cpp
|
||||
extentmap.cpp
|
||||
lbidresourcegraph.cpp
|
||||
logicalpartition.cpp
|
||||
mastersegmenttable.cpp
|
||||
oidserver.cpp
|
||||
resourcenode.cpp
|
||||
rgnode.cpp
|
||||
rwlockmonitor.cpp
|
||||
sessionmanagerserver.cpp
|
||||
shmkeys.cpp
|
||||
slavedbrmnode.cpp
|
||||
slavecomm.cpp
|
||||
tablelockserver.cpp
|
||||
tracer.cpp
|
||||
transactionnode.cpp
|
||||
undoable.cpp
|
||||
vbbm.cpp
|
||||
vss.cpp)
|
||||
|
||||
add_library(brm SHARED ${brm_LIB_SRCS})
|
||||
|
||||
set_target_properties(brm PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
||||
|
||||
install(TARGETS brm DESTINATION ${ENGINE_LIBDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(controllernode_SRCS masternode.cpp masterdbrmnode.cpp)
|
||||
|
||||
add_executable(controllernode ${controllernode_SRCS})
|
||||
|
||||
target_link_libraries(controllernode ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS controllernode DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(workernode_SRCS slavenode.cpp)
|
||||
|
||||
add_executable(workernode ${workernode_SRCS})
|
||||
|
||||
target_link_libraries(workernode ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS workernode DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(dbrmctl_SRCS dbrmctl.cpp)
|
||||
|
||||
add_executable(dbrmctl ${dbrmctl_SRCS})
|
||||
|
||||
target_link_libraries(dbrmctl ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS dbrmctl DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(reset_locks_SRCS reset_locks.cpp)
|
||||
|
||||
add_executable(reset_locks ${reset_locks_SRCS})
|
||||
|
||||
target_link_libraries(reset_locks ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS reset_locks DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(rollback_SRCS rollback.cpp)
|
||||
|
||||
add_executable(rollback ${rollback_SRCS})
|
||||
|
||||
target_link_libraries(rollback ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS rollback DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(save_brm_SRCS save_brm.cpp)
|
||||
|
||||
add_executable(save_brm ${save_brm_SRCS})
|
||||
|
||||
target_link_libraries(save_brm ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS save_brm DESTINATION ${ENGINE_BINDIR})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(load_brm_SRCS load_brm.cpp)
|
||||
|
||||
add_executable(load_brm ${load_brm_SRCS})
|
||||
|
||||
target_link_libraries(load_brm ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS})
|
||||
|
||||
install(TARGETS load_brm DESTINATION ${ENGINE_BINDIR})
|
||||
|
2
versioning/CMakeLists.txt
Normal file
2
versioning/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
add_subdirectory(BRM)
|
Reference in New Issue
Block a user