You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Deep build refactoring phase 2 (#3564)
* configcpp refactored * chore(build): massive removals, auto add files to debian install file * chore(build): configure before autobake * chore(build): use custom cmake commands for components, mariadb-plugin-columnstore.install generated * chore(build): install deps as separate step for build-packages * more deps * chore(codemanagement, build): build refactoring stage2 * chore(safety): Locked Map for MessageqCpp with a simpler way Please enter the commit message for your changes. Lines starting * chore(codemanagement, ci): better coredumps handling, deps fixed * Delete build/bootstrap_mcs.py * Update charset.cpp (add license)
This commit is contained in:
@ -82,6 +82,16 @@ macro(columnstore_shared_library libname)
|
||||
columnstore_install_target(${libname} ${ENGINE_LIBDIR})
|
||||
endmacro()
|
||||
|
||||
macro(columnstore_static_library libname)
|
||||
add_definitions(-fPIC -DPIC)
|
||||
add_library(${libname} STATIC ${ARGN})
|
||||
endmacro()
|
||||
|
||||
macro(columnstore_shared_library libname)
|
||||
add_library(${libname} SHARED ${ARGN})
|
||||
columnstore_install_target(${libname} ${ENGINE_LIBDIR})
|
||||
endmacro()
|
||||
|
||||
macro(columnstore_library libname)
|
||||
if(COLUMNSTORE_STATIC_LIBRARIES)
|
||||
columnstore_static_library(${libname} ${ARGN})
|
||||
@ -99,6 +109,15 @@ macro(columnstore_link libname)
|
||||
target_link_libraries(${libname} ${ARGN})
|
||||
endmacro()
|
||||
|
||||
macro(columnstore_mysql_plugin_library libname)
|
||||
add_library(${libname} SHARED ${ARGN})
|
||||
columnstore_install_target(${libname} ${MARIADB_PLUGINDIR})
|
||||
endmacro()
|
||||
|
||||
macro(columnstore_link libname)
|
||||
target_link_libraries(${libname} ${ARGN})
|
||||
endmacro()
|
||||
|
||||
macro(columnstore_executable executable_name)
|
||||
add_executable(${executable_name} ${ARGN})
|
||||
columnstore_install_target(${executable_name} ${ENGINE_BINDIR})
|
||||
|
Reference in New Issue
Block a user