Documentation Home
MySQL Internals Manual

4.4.4 Changing Configuration Options

The preceding procedure builds with the default configuration, which may not be suitable for your needs. For example, the embedded library is not produced. Assume that you want to change the configuration options and compile the embedded library.

  • You can provide options on the command line:


    This can be done during the initial configuration or any time later. Options are sticky; that is, they are remembered in the CMake cache (the CMakeCache.txt file in the build directory).

  • Configuration using cmake-gui (Windows, Mac OS X, or Linux with cmake-gui installed)

    From the build directory, issue this command:

    cmake-gui .
    • Check the WITH_EMBEDDED_SERVER check box

    • Click the Configure button

    • Click the Generate button

    • Close cmake-gui