bld directory, run
cmake to configure the build:
On Unix machine:
On Windows machine, to build with VS2010 and x64:
cmake .. -G "Visual Studio 10 2010 Win64"
On OS X, to use the Xcode IDE:
cmake .. -G Xcode
You can add configuration options to the cmake command line (for option descriptions, see MySQL Source-Configuration Options). For example:
cmake .. -DWITH_EMBEDDED_SERVER=1
When invoked, CMake runs system checks and generates Makefiles.
CMake permits the configuration process to be iterative, so you
can add more options after the initial configuration has been
performed. For example, running the following command after the
initial configuration step adds
the list of statically compiled storage engines:
cmake .. -DWITH_ARCHIVE_STORAGE_ENGINE=1
System checks do not rerun after the initial configuration completes.