cmake for MySQL

cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/michael/install/3306 -DMYSQL_DATADIR=/home/michael/install/3306/var -DINSTALL_SBINDIR=libexec -DINSTALL_LIBDIR=lib/mysql -DSYSCONFDIR=/home/michael/install/3306/etc -DMYSQL_UNIX_ADDR=/home/michael/install/3306/tmp/mysql.sock -DINSTALL_PLUGINDIR=lib/plugin -DINSTALL_SCRIPTDIR=bin -DINSTALL_MYSQLSHAREDIR=share -DINSTALL_SUPPORTFILESDIR=share/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DWITH_UNIT_TESTS=0 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 -DWITH_INNODB_MEMCACHED=1 -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_ARCHIVE_STORAGE_ENGINE=0 -DWITH_PARTITION_STORAGE_ENGINE=1 -DWITH_EMBEDDED_SERVER=0 -DENABLED_PROFILING=1 -DWITH_ZLIB=bundled -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/home/michael/install/third_lib/boost_1_59_0 -DCMAKE_C_FLAGS=-O3 -DCMAKE_CXX_FLAGS=-O3 -DCMAKE_C_FLAGS_RELEASE=-O3 -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DENABLED_LOCAL_INFILE=1 -DWITH_DEBUG=0

你可能感兴趣的:(cmake for MySQL)