mariadb/mysql-test/lib/My/SafeProcess
Vladislav Vaintroub c514d75ebb 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
..
Base.pm Bug #42804 --parallel option does not work for MTR under ActiveState 2009-04-23 13:35:02 +02:00
CMakeLists.txt Handle different installation layouts. 2010-01-24 16:23:16 +01:00
Makefile.am Apply patch from bug#46834 to install the test suite in RPMs. 2009-08-21 13:58:33 +02:00
safe_kill_win.cc WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
safe_process.cc Fix warnings generated by SunStudio and GCC. 2009-07-08 09:31:22 -03:00
safe_process.pl Don't use Getopt::Long in safe_process.pl 2007-12-20 18:39:33 +01:00
safe_process_win.cc automerge 2009-11-13 13:26:16 +01:00