summaryrefslogtreecommitdiff
path: root/cmake/libutils.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Updated/added copyright headersKent Boortz2011-06-301-1/+1
|
* Bug#58074: ADD_VERSION_INFO cmake/mysql_version.cmake fails if LINK_FLAGS ↵Vladislav Vaintroub2010-11-121-0/+3
| | | | | | | | are modified Backport version info handling (Windows-specific) from next-mr. Instead of adding ".res" object as linker flag, add resource file (.rc) file to the source list. This is more obvious and less error prone method.
* Rename CMAKE_PARSE_ARGUMENTS macro to avoid name collisionVladislav Vaintroub2010-09-291-1/+1
| | | | | with CMake 2.8.3 builtin macro
* Add components to INSTALL, some eraly Wix supportVladislav Vaintroub2010-02-101-2/+5
|
* WL#5161: Implement Mats' suggestion of moving OS specific CMake code to OS ↵Vladislav Vaintroub2010-01-261-2/+4
| | | | | | | | | | | | | specific files, instead of polluting code with IF(CMAKE_SYSTEM_NAME MATCHES...), first on Windows. cmake/libutils.cmake: Fix the case in MERGE_LIBRARIES, where there is no dependency on OS libraries. cmake/os/Windows.cmake: Move windows specific code to cmake/os/Windows.cmake configure.cmake: Move some Windows code to cmake/os/Windows.cmake
* Fix smaller stuff: disable transitive linking for MERGE_LIBRARIES results,Vladislav Vaintroub2010-01-251-0/+1
| | | | | compile embedded with PIC to allow linking with shared libraries
* Handle different installation layouts.Vladislav Vaintroub2010-01-241-1/+1
| | | | | | | | | | | | | | | | | 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)
* Fix output name of embedded library,Vladislav Vaintroub2010-01-151-1/+1
| | | | honor OUTPUT_NAME in MERGE_LIBRARIES macro
* Do not use fvisibility flag if GCC does not support itVladislav Vaintroub2010-01-061-6/+9
| | | | (i.e if gcc version < 4)
* Simplify embedding version info into executables with ADD_VERSION_INFOVladislav Vaintroub2009-12-181-3/+0
|
* Replace ADD_EXECUTABLE with MYSQL_ADD_EXECUTABLE for binaries that are ↵Vladislav Vaintroub2009-12-171-10/+14
| | | | | | | installed. MYSQL_ADD_EXECUTABLE will instructs CPack where to install the exe. On Windows, it also adds version resource and if -DSIGNCODE was given, will sign the exe in packaging step.
* On Linux, support -Wl,--no-undefined (only client shared library)Vladislav Vaintroub2009-12-071-7/+24
| | | | | and --Wl,--as-needed (all shared modules). The later will remove unused dependencies (also from gcc and C++ runtime)
* Fix creation of exports file on UnixVladislav Vaintroub2009-12-051-2/+4
|
* in RESTRICT_SYMBOL_EXPORTS,handle cases where COMPILE_FLAGS are not setVladislav Vaintroub2009-12-011-0/+4
| | | | | (COMPILE_FLAGS-NOTFOUND)
* - Introduce MYSQL_ADD_PLUGIN that replaces MYSQL_STORAGE_ENGINEVladislav Vaintroub2009-12-011-35/+10
| | | | | - Fix semisync library prefix (remove lib on Unixes) - restrict exported symbols from zlib and yassl (fvisibility=hidden)
* implement convenience librariesVladislav Vaintroub2009-11-241-0/+291