mariadb/cmake
Vladislav Vaintroub f4cdf90d73 MDEV-17279 Windows : link C runtime dynamically
Changed the build to use /MD flag so that DDL version of C runtime is used.

To make sure MariaDB is always runnable on target system, include
redistributable CRT libraries into installer.

For MSI package, use Microsoft's merge modules.
For ZIP  use "applocal" approach,i.e place redistributable dlls
into the bin directory of the package(via InstallRequiredSystemLibraries
cmake module) The space overhead of libraries in negligible, ~ 3MB unpacked.

There are 2 cases, where we still link C runtime statically

- Upgrade wizard, it uses MFC, and we link statically to avoid
redistribute also whole MFC (for this single application, does not
make much sense).

- MSI installer's custom action dll wixca.dll.Here, we need static link
so that MSI won't fail on a target system that does not have VC++2015
runtime already installed.
2018-10-09 08:42:48 +01:00
..
build_configurations
os MDEV-17279 Windows : link C runtime dynamically 2018-10-09 08:42:48 +01:00
abi_check.cmake
character_sets.cmake
check_compiler_flag.cmake
compile_flags.cmake
configurable_file_content.in
configure.pl
cpack_deb.cmake
cpack_rpm.cmake Merge branch '10.2' into 10.3 2018-09-28 16:37:06 +02:00
cpack_source_ignore_files.cmake
CPackRPM.cmake
cpu_info.cmake
crc32.cmake
create_initial_db.cmake
ctest.cmake
do_abi_check.cmake
dtrace.cmake
dtrace_prelink.cmake
FindJava.cmake
FindJNI.cmake
FindLZ4.cmake
Findzstd.cmake
for_clients.cmake
info_bin.cmake
info_macros.cmake.in
info_src.cmake
install_layout.cmake
install_macros.cmake Merge branch '10.2' into 10.3 2018-09-28 16:37:06 +02:00
jemalloc.cmake
libutils.cmake
maintainer.cmake
make_dist.cmake.in
mariadb_connector_c.cmake
merge_archives_unix.cmake
misc.cmake
mysql_add_executable.cmake
mysql_version.cmake
numa.cmake
package_name.cmake
pcre.cmake
plugin.cmake Merge branch '10.2' into 10.3 2018-09-28 16:37:06 +02:00
readline.cmake
sign.cmake.in
ssl.cmake
stack_direction.c
submodules.cmake
systemd.cmake
tags.cmake
versioninfo.rc.in
win_compatibility.manifest
wsrep.cmake
zlib.cmake