This value can be set at server startup with the mysqlx_port  system variable. 

• -DMYSQLX_UNIX_ADDR= file_name 

The Unix socket file path on which the server listens for X Plugin socket connections. This must be an absolute path name. The default is /tmp/mysqlx.sock . 

This value can be set at server startup with the mysqlx_port  system variable. 

• -DMYSQL_PROJECT_NAME= name 

For Windows or macOS, the project name to incorporate into the project file name. 

• -DMYSQL_TCP_PORT= port_num 

The port number on which the server listens for TCP/IP connections. The default is 3306. 

This value can be set at server startup with the --port  option. 

• -DMYSQL_UNIX_ADDR= file_name 

The Unix socket file path on which the server listens for socket connections. This must be an absolute path name. The default is /tmp/mysql.sock . 

This value can be set at server startup with the --socket  option. 

• -DOPTIMIZER_TRACE= bool 

Whether to support optimizer tracing. See MySQL Internals: Tracing the Optimizer. 

• -DREPRODUCIBLE_BUILD= bool 

For builds on Linux systems, this option controls whether to take extra care to create a build result independent of build location and time. 

This option was added in MySQL 8.0.11. As of MySQL 8.0.12, it defaults to ON  for RelWithDebInfo builds. 

• -DUSE_LD_GOLD= bool 

CMake  causes the build process to link with the GNU gold  linker if it is available and not explicitly disabled. To disable use of this linker, specify the -DUSE_LD_GOLD=OFF  option. 

• -DUSE_LD_LLD= bool 

CMake  causes the build process to link with the llvm lld  linker for Clang if it is available and not explicitly disabled. To disable use of this linker, specify the -DUSE_LD_LLD=OFF  option. 

This option was added in MySQL 8.0.16. 

• -DWIN_DEBUG_NO_INLINE= bool 

Whether to disable function inlining on Windows. The default is off (inlining enabled). 

• -DWITH_ANT= path_name 

Set the path to Ant, required when building GCS Java wrapper. Works in a similar way to the existing WITH_BOOST  CMake option. Set WITH_ANT  to the path of a directory where the Ant tarball, or an 

