summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-9869 INSTALL SONAME 'ha_connect'Sergei Golubchik2017-12-251-1/+1
| | | | | | | fix 011497bd603 in RPM and DEB: storage engine packages must require the server package of exactly correct version.
* Merge branch '10.1' into 10.2Vicențiu Ciorbaru2017-09-191-1/+2
|\
| * Merge branch '10.0' into 10.1Vicențiu Ciorbaru2017-09-191-1/+2
| |\
| | * Build improvements and cleanups.Vladislav Vaintroub2017-09-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | - the probably ultimate fix for dependencies on VS - remove some GET_TARGET_PROPERTY(LOCATION ...), they are deprecated in cmake 3.9 - simplify signing targets on Windows. - remove INSTALL_DEBUG_TARGET, we do not mix binaries from different builds in the same package
* | | bugfix: don't overwrite tokudb.cnf during the buildSergei Golubchik2017-09-181-3/+5
| | |
* | | Merge 10.1 into 10.2Marko Mäkelä2017-05-061-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | Also, include fixes by Vladislav Vaintroub to the aws_key_management plugin. The AWS C++ SDK specifically depends on OPENSSL_LIBRARIES, not generic SSL_LIBRARIES (such as YaSSL).
| * | MDEV-11660 Make encryption plugins "pure"Vladislav Vaintroub2017-04-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Do not exporting mysqld entry points directly. This is needed for mariabackup, to load encryption plugins on Windows. All plugins are "pure" by default. To mark plugin "impure" it should use RECOMPILE_FOR_EMBEDDED or STORAGE_ENGINE keyword.
* | | Fix building aws_key_management on LinuxVladislav Vaintroub2017-04-061-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | in MYSQL_ADD_PLUGIN, do not add TARGET_LINK_LIBRARIES twice for the LINK_LIBRARIES parameter It is usually harmless to add libraries twice. However, aws_key_management uses -Wl,-whole-archive to workaround linker issues on Linux If libraries are added twice with whole-archive, linking will fail complaining about duplicate symbols
* | | Merge branch '10.1' into 10.2Vladislav Vaintroub2017-04-061-5/+7
|\ \ \ | |/ /
| * | Do not link client plugins to mysqldVladislav Vaintroub2017-04-061-5/+7
| | | | | | | | | | | | they might not be able to load after this.
* | | Merge 10.1 into 10.2Marko Mäkelä2017-04-061-1/+8
|\ \ \ | |/ /
| * | Merge 10.0 into 10.1Marko Mäkelä2017-04-061-1/+8
| |\ \ | | |/
| | * Compiling, Windows . Avoid unnecessary rebuilds with MSVC.Vladislav Vaintroub2017-04-031-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To export symbols from the mysqld.exe, use lib.exe with /DEF, rather than pre-link step when building mysqld.exe. This helps to avoid relinking all plugins, if mysqld.exe was recompiled but the list of its exports has not changed. Also removed unnecessary DEPENDS in some ADD_CUSTOM_COMMAND (gen_lex_token, gen_lex_hash etc). They confuse VS generator which tends to recreate headers and do unnecessary recompilations.
* | | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-301-2/+5
|\ \ \ | |/ /
| * | small plugin API related fixesSergei Golubchik2017-03-101-2/+5
| | | | | | | | | | | | | | | | | | * define MYSQL_DYNAMIC_PLUGIN only for server plugins * don't typedef my_bool in mysql.h if plugin.h has already done it * fix the include guard in plugin.h
* | | Merge branch '10.1' into 10.2Sergei Golubchik2016-06-301-3/+8
|\ \ \ | |/ /
| * | MDEV-10086 no gssapi-server RPM package anymore in 10.1Sergei Golubchik2016-06-281-1/+2
| | | | | | | | | | | | set CPACK_COMPONENTS_ALL both on the current and parent scope
| * | fix rpm installation issues on FedorasSergei Golubchik2016-05-051-0/+2
| | |
| * | Merge branch '10.0' into 10.1Sergei Golubchik2016-05-041-3/+5
| |\ \ | | |/
| | * MDEV-9869 INSTALL SONAME 'ha_connect'Sergei Golubchik2016-04-241-1/+4
| | | | | | | | | | | | | | | | | | make storage engine RPMs require the exact server version RPM: "MariaDB = %{version}-%{release}", other plugins require simply "MariaDB", as before.
| | * MYSQL_ADD_PLUGIN: fix DISABLED keyword to workSergei Golubchik2016-02-171-1/+1
| | |
| | * Merge branch '5.5' into 10.0Sergei Golubchik2015-02-181-7/+0
| | |\
| | | * Merge remote-tracking branch 'mysql/5.5' into bb-5.5-merge @ mysql-5.5.42Sergei Golubchik2015-02-111-7/+0
| | | |\
| | | | * Bug#19890133 MAKE DIST USING BZR EXPORT EVEN FOR SOURCE DIR NOT A BZR REPOTor Didriksen2014-11-111-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | For 'make dist': only use 'bzr export' if bzr root == ${CMAKE_SOURCE_DIR} Same thing for git.
| | | | * Updated/added copyright headersMurthy Narkedimilli2013-02-261-1/+1
| | | | |
| | | | * Bug#14737559 BZR JOIN PLUGIN TREES INTO INTERNAL/PLUGINTor Didriksen2012-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Part three: Fix some search paths.
| | | | * Source plugin library files list from cmake-generated file in RPM buildsDaniel Fischer2011-08-151-0/+4
| | | | |
| | | | * RETURN doesn't exactly return from the macro...Daniel Fischer2011-06-101-9/+8
| | | | |
| | | | * Bug#12641810 - MYSQL MAKE DIST DOESN'T WORK WHEN USING MYSQL TREE + PLUGIN ↵Tor Didriksen2011-06-101-0/+7
| | | | | | | | | | | | | | | | | | | | TREE(S)
| | | | * Bug #12598603 HAVE COLLECTIONS FILES IN FEATURE TREES AUTO-APPENDED TO ↵Bjorn Munch2011-05-271-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMMON FILES Do this in the common plugin.cmake but only if running in PB2 (If done in manual builds it would create a bzr diff)
| | | | * Merge 5.5-bug58158 into 5.5-bugteamMagnus Blåudd2010-11-241-1/+1
| | | | |\
| | | | | * Bug#58158 LINK_LIBRARIES for MYSQL_ADD_PLUGIN is not added to libmysqldMagnus Blåudd2010-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add ARG_LINK_LIBRARIES to MYSQLD_STATIC_PLUGIN_LIBS in MYSQL_ADD_PLUGIN so that any libraries listed by the plugin is added to libmysqld - remove the variables NDB_CLIENT_LIBS and NDB_CLUSTER_INCLUDES from libmysqld/CMakeLists.txt since those are just old remnants
| | | | * | Bug#58074: ADD_VERSION_INFO cmake/mysql_version.cmake fails if LINK_FLAGS ↵Vladislav Vaintroub2010-11-121-0/+1
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are modified Backport version info handling (Windows-specific) from next-mr. Instead of adding ".res" object as linker flag, add resource file (.rc) file to the source list. This is more obvious and less error prone method.
| | | | * Rename CMAKE_PARSE_ARGUMENTS macro to avoid name collisionVladislav Vaintroub2010-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | with CMake 2.8.3 builtin macro
| | | | * Build cleanupsVladislav Vaintroub2010-08-051-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Simplify sql-bench installation, do not try to resolve names : this leads to probem if builddir is symlink located on different filesystem. (reported by alik) - Make WITHOUT_XXX (disabling plugin) work for DEFAULT plugins. Prior to the patch is behaved just like MANDATORY. - LINK_LIBRARIES in MYSQL_ADD_PLUGIN had no effect for statically linked plugins. - Fix constant rebuild of initdb target on Windows.
| | | | * MergeDaniel Fischer2010-04-211-0/+6
| | | | |\
| | | | | * Install debug plugins, from wlad.Jonathan Perkin2010-03-261-0/+1
| | | | | |
| | | | | * Bug #51488 :missing features and change behavior in cmake runs compared toVladislav Vaintroub2010-03-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autotools runs - Fix recognition of --with-debug=full in configure wrapper - Remove CMakeCache.txt in configure wrapper, to match the original - Fix recognition of max-no-ndb - Fix broken dependencies of mysql_fix_privilege_table.sql from mysql_system_tables.sql and mysql_system_tables_fix.sql - Add "distclean target" that informs user about appropriate bzr command
| | | | * | Add components to INSTALL, some eraly Wix supportVladislav Vaintroub2010-02-101-1/+1
| | | | |/
| | | | * Add windows system check cache that prevents tests from running, most are ↵vvaintroub2010-01-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | irrelevant anyway Add cached variable WITH_XXX_STORAGE_ENGINE for dynamic plugins that can be static or dynamic.
| | | | * Fix failing test cases on pushbuildVladislav Vaintroub2010-01-261-2/+5
| | | | |
| | | | * Fixed typos and failed mysqld--help test.Vladislav Vaintroub2010-01-261-3/+2
| | | | |
| | | | * Handle different installation layouts.Vladislav Vaintroub2010-01-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using cmake option INSTALL_LAYOUT=STANDALONE would produce the layout as in tar.gz or zip packages. INSTALL_LAYOUT=UNIX will produce unixish install layout (with mysqld being in sbin subdirectory , libs in lib/mysql etc). This layout is used for RPM packages. Subtle differences in both packages unfortunately lead to the need to recompile MySQL to use with other package type - as otherwise for example default plugins or data directories would be wrong set. There are numerous other variables that allow fine-tuning packaging layout. (INSTALL_BINDIR, INSTALL_LIBDIR , INSTALL_PLUGINDIR etc). This options are different from autotools as they do not expect full paths to directories, but only subdirectory of CMAKE_INSTALL_PREFIX. There are 2 special options that expect full directory paths - MYSQL_DATADIR that defines default MYSQL data directory (autotools equivalent is --localstatedir) - SYSCONFDIR can be added to search my.cnf search path (autotools equivalent is --sysconfdir)
| | | | * mergeVladislav Vaintroub2009-12-251-2/+11
| | | | |
| | | | * Simplify embedding version info into executables with ADD_VERSION_INFOVladislav Vaintroub2009-12-181-4/+2
| | | | |
| | | | * Replace ADD_EXECUTABLE with MYSQL_ADD_EXECUTABLE for binaries that are ↵Vladislav Vaintroub2009-12-171-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | installed. MYSQL_ADD_EXECUTABLE will instructs CPack where to install the exe. On Windows, it also adds version resource and if -DSIGNCODE was given, will sign the exe in packaging step.
| | | | * Cleanup, use MYSQL_INSTALL_TARGETS macro instead of INSTALL(TARGETS) ↵Vladislav Vaintroub2009-12-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | combined with INSTALL_DEBUG_SYMBOLS
| | | | * On Linux, support -Wl,--no-undefined (only client shared library)Vladislav Vaintroub2009-12-071-0/+4
| | | | | | | | | | | | | | | | | | | | and --Wl,--as-needed (all shared modules). The later will remove unused dependencies (also from gcc and C++ runtime)
| | | | * - Introduce MYSQL_ADD_PLUGIN that replaces MYSQL_STORAGE_ENGINEVladislav Vaintroub2009-12-011-101/+91
| | | | | | | | | | | | | | | | | | | | - Fix semisync library prefix (remove lib on Unixes) - restrict exported symbols from zlib and yassl (fvisibility=hidden)
| | | | * implement convenience librariesVladislav Vaintroub2009-11-241-10/+17
| | | | |