mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-18 21:44:02 +03:00
Rename packages to MariaDB-columnstore-engine, MariaDB-columnstore-libs and MariaDB-columnstore-platform. Also add the "columnstore-" prefix the the components so that MariaDB's packaging system understands then and add a line to include them in MariaDB's packaging. In addition * Fix S3 building for dist source build * Fix Debian 10 dependency issue * Fix git handling for dist builds * Add support for MariaDB's RPM building * Use MariaDB's PCRE and readline * Removes a few dead files * Fix Boost noncopyable includes
33 lines
838 B
CMake
33 lines
838 B
CMake
|
|
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
|
|
|
|
|
########### next target ###############
|
|
#TODO: put generated files in binary dir
|
|
ADD_CUSTOM_COMMAND(
|
|
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/messageids.h ${CMAKE_CURRENT_SOURCE_DIR}/errorids.h
|
|
COMMAND /bin/sh genMsgAndErrId.sh
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
DEPENDS genMsgId.pl genErrId.pl
|
|
)
|
|
|
|
|
|
add_library(loggingcpp SHARED
|
|
message.cpp
|
|
messagelog.cpp
|
|
logger.cpp
|
|
errorcodes.cpp
|
|
sqllogger.cpp
|
|
stopwatch.cpp
|
|
idberrorinfo.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/messageids.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/errorids.h
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS loggingcpp DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-libs)
|
|
|
|
install(FILES MessageFile.txt ErrorMessage.txt DESTINATION ${ENGINE_SYSCONFDIR}/columnstore COMPONENT columnstore-platform)
|
|
|