It might be handy to specify a predefined set of options and
do some compiler flag adjustments by passing just a single
parameter to cmake. For MYSQL ,this can be done using cmake
set, cmake will execute script in
Assuming we want to include embedded and exclude archive
storage engine from build, this script could look like
SET(WITH_EMBEDDED_SERVER 1 CACHE BOOL "") SET(WITHOUT_ARCHIVE_STORAGE_ENGINE 1 CACHE BOOL "")
Currently, there is just a single predefined configuration mysql_release, it reflects configuration parameters and compiler flags used by MySQL releases.