1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00
Andrew Hutchings 7489d0bfd0 MCOL-3625 Rename packages
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
2019-12-04 11:04:39 +00:00

40 lines
1.0 KiB
CMake

INCLUDE_DIRECTORIES( ${ENGINE_COMMON_INCLUDES} )
#TODO: put generated files in the binary directory
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/ddl-gram.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ddl-scan.cpp
COMMAND /bin/sh ./ddl-gram.sh ${BISON_EXECUTABLE}
COMMAND /bin/sh ./ddl-scan.sh ${LEX_EXECUTABLE}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ddl.y ddl.l
)
set_source_files_properties(ddl-scan.cpp PROPERTIES COMPILE_FLAGS -Wno-sign-compare)
########### next target ###############
ADD_LIBRARY(ddlpackage SHARED
serialize.cpp
ddl-scan.cpp
ddl-gram.cpp
ddlpkg.cpp
columndef.cpp
createtable.cpp
tabledef.cpp
sqlstatement.cpp
sqlstatementlist.cpp
altertable.cpp
createindex.cpp
dropindex.cpp
droptable.cpp
sqlparser.cpp
markpartition.cpp
restorepartition.cpp
droppartition.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ddl-gram.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ddl-scan.cpp
)
INSTALL(TARGETS ddlpackage DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-libs)