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
42 lines
1.1 KiB
CMake
42 lines
1.1 KiB
CMake
|
|
INCLUDE_DIRECTORIES( ${ENGINE_COMMON_INCLUDES} )
|
|
|
|
#TODO: put generated files in binary folder
|
|
ADD_CUSTOM_COMMAND(
|
|
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dml-gram.cpp ${CMAKE_CURRENT_SOURCE_DIR}/dml-scan.cpp
|
|
COMMAND /bin/sh ./dml-gram.sh ${BISON_EXECUTABLE}
|
|
COMMAND /bin/sh ./dml-scan.sh ${LEX_EXECUTABLE}
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
DEPENDS dml.y dml.l
|
|
)
|
|
|
|
set_source_files_properties(dml-scan.cpp PROPERTIES COMPILE_FLAGS -Wno-sign-compare)
|
|
|
|
########### next target ###############
|
|
|
|
ADD_LIBRARY(dmlpackage SHARED
|
|
dml-scan.cpp
|
|
dml-gram.cpp
|
|
calpontdmlfactory.cpp
|
|
calpontdmlpackage.cpp
|
|
dmlcolumn.cpp
|
|
deletedmlpackage.cpp
|
|
dmlobject.cpp
|
|
insertdmlpackage.cpp
|
|
mysqldmlstatement.cpp
|
|
oracledmlstatement.cpp
|
|
row.cpp
|
|
dmltable.cpp
|
|
updatedmlpackage.cpp
|
|
vendordmlstatement.cpp
|
|
commanddmlpackage.cpp
|
|
dmlpkg.cpp
|
|
dmlparser.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dml-gram.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dml-scan.cpp
|
|
)
|
|
|
|
|
|
INSTALL(TARGETS dmlpackage DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-libs)
|
|
|