diff options
-rwxr-xr-x | CMakeLists.txt | 4 | ||||
-rw-r--r-- | cmake/build_configurations/mysql_release.cmake | 23 |
2 files changed, 27 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bd6310a20eb..6dafc6b3086 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake new file mode 100644 index 00000000000..d72624c8ac7 --- /dev/null +++ b/cmake/build_configurations/mysql_release.cmake @@ -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)
|