1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

named linkage

This commit is contained in:
Leonid Fedorov
2025-04-25 16:39:31 +00:00
committed by Leonid Fedorov
parent 71b5ca0b39
commit 2036e521c7
39 changed files with 98 additions and 137 deletions

View File

@ -1,4 +1,3 @@
include_directories( ${ENGINE_COMMON_INCLUDES} ${S3API_DIR} )
link_directories(${CMAKE_BINARY_DIR}/lib)
@ -26,7 +25,7 @@ set(we_bulk_STAT_SRCS
we_workers.cpp)
ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
add_library(we_bulk STATIC ${we_bulk_STAT_SRCS})
columnstore_library(we_bulk ${we_bulk_STAT_SRCS})
add_dependencies(we_bulk loggingcpp)
@ -43,4 +42,3 @@ add_dependencies(cpimport.bin marias3)
target_link_libraries(cpimport.bin ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} ${S3API_DEPS} we_bulk we_xml)
install(TARGETS cpimport.bin DESTINATION ${ENGINE_BINDIR} COMPONENT columnstore-engine)

View File

@ -1,4 +1,3 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
@ -6,12 +5,10 @@ include_directories( ${ENGINE_COMMON_INCLUDES} )
set(writeengineclient_LIB_SRCS we_clients.cpp we_ddlcommandclient.cpp we_dmlcommandclient.cpp)
add_library(writeengineclient SHARED ${writeengineclient_LIB_SRCS})
columnstore_library(writeengineclient ${writeengineclient_LIB_SRCS})
add_dependencies(writeengineclient loggingcpp)
target_link_libraries(writeengineclient ${NETSNMP_LIBRARIES})
install(TARGETS writeengineclient DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)

View File

@ -1,4 +1,3 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
########### next target ###############
@ -9,7 +8,7 @@ set(writeengineredistribute_LIB_SRCS
we_redistributecontrolthread.cpp
we_redistributeworkerthread.cpp)
add_library(writeengineredistribute SHARED ${writeengineredistribute_LIB_SRCS})
columnstore_library(writeengineredistribute ${writeengineredistribute_LIB_SRCS})
add_dependencies(writeengineredistribute loggingcpp)
@ -19,4 +18,3 @@ target_compile_definitions(writeengineredistribute PUBLIC BOOST_NO_CXX11_SCOPED_
install(TARGETS writeengineredistribute DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)

View File

@ -1,4 +1,3 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
@ -37,7 +36,7 @@ set(writeengine_LIB_SRCS
add_definitions(-D_FILE_OFFSET_BITS=64)
add_library(writeengine SHARED ${writeengine_LIB_SRCS})
columnstore_library(writeengine ${writeengine_LIB_SRCS})
add_dependencies(writeengine loggingcpp)

View File

@ -1,4 +1,3 @@
include_directories( ${ENGINE_COMMON_INCLUDES} )
@ -12,9 +11,8 @@ set(we_xml_STAT_SRCS
add_definitions(-D_FILE_OFFSET_BITS=64)
add_library(we_xml STATIC ${we_xml_STAT_SRCS})
columnstore_library(we_xml ${we_xml_STAT_SRCS})
add_dependencies(we_xml loggingcpp)
INSTALL(TARGETS we_xml DESTINATION ${ENGINE_LIBDIR})