mariadb/cmake
Vladislav Vaintroub c827968a2d Handle different installation layouts.
using  cmake option INSTALL_LAYOUT=STANDALONE would produce the layout as in 
tar.gz or zip packages.
INSTALL_LAYOUT=UNIX will produce unixish install layout  (with mysqld being in sbin subdirectory , libs in lib/mysql etc). This layout is used for RPM packages.

Subtle differences in both packages unfortunately lead to the need to recompile MySQL to use with other package type - as otherwise for example default plugins or data directories would be wrong set.

There are numerous other variables that  allow fine-tuning packaging layout. (INSTALL_BINDIR, INSTALL_LIBDIR , INSTALL_PLUGINDIR etc).

This options are different from autotools as they do not expect full paths to directories, but only subdirectory of CMAKE_INSTALL_PREFIX.

There are 2 special options that expect full directory paths
- MYSQL_DATADIR that defines default MYSQL data directory (autotools equivalent
is --localstatedir)
- SYSCONFDIR  can be added to search my.cnf search path (autotools equivalent is --sysconfdir)
2010-01-24 16:23:16 +01:00
..
build_configurations Add -lmtmalloc to server linker flags on Solaris 10 2010-01-20 17:21:38 +00:00
abi_check.cmake use _GNU_SOURCE on Linux to have all useful definitions (pthread_rwlock_t) for example 2010-01-13 16:52:14 +01:00
bison.cmake couple of tweaks for solaris on sparc, link with librt, as it defines sched_yield 2009-12-08 03:12:23 +01:00
cat.cmake WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
character_sets.cmake implement convenience libraries 2009-11-24 23:15:47 +00:00
check_minimal_version.cmake WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
cmake_parse_arguments.cmake Cleanup, use MYSQL_INSTALL_TARGETS macro instead of INSTALL(TARGETS) combined with 2009-12-12 02:03:05 +01:00
configurable_file_content.in implement convenience libraries 2009-11-24 23:15:47 +00:00
configure.pl Handle different installation layouts. 2010-01-24 16:23:16 +01:00
create_initial_db.cmake.in Fixes for cmake2.8 2009-11-16 14:45:06 +01:00
do_abi_check.cmake WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
dtrace.cmake use systemtap on linux if installed, for dtrace functionality 2009-12-24 07:21:05 +01:00
dtrace_prelink.cmake Dtrace on Solaris: 2009-12-13 05:42:26 +00:00
install_layout.cmake Handle different installation layouts. 2010-01-24 16:23:16 +01:00
install_macros.cmake Simplify embedding version info into executables with ADD_VERSION_INFO 2009-12-18 23:53:30 +01:00
libutils.cmake Handle different installation layouts. 2010-01-24 16:23:16 +01:00
make_dist.cmake.in Address Kents comments: copy docs, remove autom4te.cache subdirectory if exists. 2010-01-09 00:38:19 +01:00
Makefile.am Handle different installation layouts. 2010-01-24 16:23:16 +01:00
merge_archives_unix.cmake.in WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
mysql_add_executable.cmake Handle different installation layouts. 2010-01-24 16:23:16 +01:00
mysql_version.cmake Added support for product names in package names 2010-01-15 15:11:59 +01:00
plugin.cmake Handle different installation layouts. 2010-01-24 16:23:16 +01:00
readline.cmake CMake 2.6.2 fix 2010-01-08 11:06:42 +01:00
ssl.cmake enable Cygwin build again 2009-12-25 03:22:23 +01:00
stack_direction.c WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
versioninfo.rc.in Simplify embedding version info into executables with ADD_VERSION_INFO 2009-12-18 23:53:30 +01:00
zlib.cmake WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00