MySQL Source-Configuration Options • RelWithDebInfo : Enable optimizations and generate debugging information. This is the default MySQL build type. • Release : Enable optimizations but omit debugging information to reduce the build size. This build type was added in MySQL 8.0.13. • Debug : Disable optimizations and generate debugging information. This build type is also used if the  WITH_DEBUG  option is enabled. That is,  -DWITH_DEBUG=1  has the same effect as  - DCMAKE_BUILD_TYPE=Debug . • -DCPACK_MONOLITHIC_INSTALL= bool • -DFORCE_INSOURCE_BUILD= bool • -DCMAKE_INSTALL_PREFIX= dir_name • -DINSTALL_BINDIR= dir_name • -DINSTALL_DOCDIR= dir_name • -DINSTALL_DOCREADMEDIR= dir_name • -DINSTALL_INCLUDEDIR= dir_name • -DINSTALL_INFODIR= dir_name • -DINSTALL_LAYOUT= name 225 Select a predefined installation layout: Where to install Info files. Where to install header files. Where to install  README  files. Where to install documentation. Where to install user programs. This value can be set at server startup with the  --basedir  option. The installation base directory. The  CMAKE_INSTALL_PREFIX  option indicates the base installation directory. Other options with names of the form  INSTALL_ xxx  that indicate component locations are interpreted relative to the prefix and their values are relative pathnames. Their values should not include the prefix. Defines whether to force an in-source build. Out-of-source builds are recommended, as they permit multiple builds from the same source, and cleanup can be performed quickly by removing the build directory. To force an in-source build, invoke  CMake  with  -DFORCE_INSOURCE_BUILD=ON . This option affects whether the  make package  operation produces multiple installation package files or a single file. If disabled, the operation produces multiple installation package files, which may be useful if you want to install only a subset of a full MySQL installation. If enabled, it produces a single file for installing everything. Installation Layout Options