Documentation Home
MySQL Internals Manual Creating Binary Packages

A package can be created in the form of a .tar.gz archive or .zip file.

  • Using generic Unix build with Makefiles:

    make package
  • On Windows, using Visual Studio generator:

    devenv mysql.sln /build relwithdebinfo /project package

    On Windows, CMake 2.8 and later needs no external tools to generate Zip files. However, with CMake 2.6, 7Zip or Winzip must be installed in a directory listed in your PATH setting.

Another way to build packages is by calling the cpack executable directly:

cpack -G TGZ --config CPackConfig.cmake

Use -G TGZ to produce a .tar.gz archive, -GZIP for a .zip file.