1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00

Add option for specifying MYSQL build configurations.

Add mysql_release.cmake intended for use by the build team (
compile options, build settings to do MySQL releases)
This commit is contained in:
Vladislav Vaintroub 2010-01-11 14:42:07 +01:00
parent 36549c4fa2
commit 125cd58f2b
2 changed files with 27 additions and 0 deletions

View File

@ -19,6 +19,10 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.6)
CMAKE_POLICY(VERSION 2.8)
endif()
IF(BUILD_CONFIG)
INCLUDE(${CMAKE_SOURCE_DIR}/cmake/build_configurations/${BUILD_CONFIG}.cmake)
ENDIF()
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
# First, decide about build type (debug or release)

View File

@ -0,0 +1,23 @@
# Copyright (C) 2010 Sun Microsystems, Inc
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# This file includes build settings used for MySQL release
SET(WITH_INNOBASE_STORAGE_ENGINE 1)
SET(WITH_ARCHIVE_STORAGE_ENGINE 1)
SET(WITH_BLACKHOLE_STORAGE_ENGINE 1)
SET(WITH_FEDERATED_STORAGE_ENGINE 1)
SET(WITHOUT_EXAMPLE_STORAGE_ENGINE 1)
SET(WITH_EMBEDDED_SERVER 1)