MySQL Internals Manual  /  Plugins  /  CMake Variables to Control Plugin Building (MySQL 5.5 and Later)

5.1 CMake Variables to Control Plugin Building (MySQL 5.5 and Later)

  • To build a plugin that is statically compiled into the server (assuming that the plugin supports static build), add -DWITH_<PLUGIN>=1 to the CMake command line.

  • To exclude a plugin from the build, use -DWITHOUT_<PLUGIN>=1

  • If neither WITH_<PLUGIN> nor WITHOUT_<PLUGIN> are defined, the plugin will be built as a shared module, if plugin supports it. If the plugin does not support build as a shared module, it won't be built.

  • WITH_PLUGIN_<PLUGIN> and WITH_<PLUGIN>_STORAGE_ENGINE are also supported.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.