mariadb/cmake
Vicențiu Ciorbaru 43233fe469 Fix -DBUILD_CONFIG=mysql_release to keep standard cmake flags
-DCMAKE_BUILD_TYPE=xxx sets some C compiler flags according to the build type.
-DBUILD_CONFIG was completely overwriting them in some compiler / arch
combinations and not in others. Make it consistently "append-only", not
overwrite.

Also, enforce the same set of flags for Release and RelWithDebInfo.

This reverts ff1f611a0d as it is no longer
necessary.

    Avoid assert()

    By default, CMAKE_BUILD_TYPE RelWithDebInfo or Release implies
    -DNDEBUG, which disables the assert() macro. MariaDB is deviating
    from that. Let us be explicit to use assert() only in debug builds.
2025-01-10 14:15:50 +02:00
..
build_configurations Fix -DBUILD_CONFIG=mysql_release to keep standard cmake flags 2025-01-10 14:15:50 +02:00
Internal/CPack
os Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
abi_check.cmake
aws_sdk.cmake
build_depends.cmake
character_sets.cmake
check_compiler_flag.cmake
check_linker_flag.cmake
compile_flags.cmake
configurable_file_content.in
configure.pl
cpack_deb.cmake
cpack_rpm.cmake Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
cpack_source_ignore_files.cmake
cpack_tgz.cmake
cpu_info.cmake
create_initial_db.cmake
ctest.cmake
do_abi_check.cmake
dtrace.cmake Dtrace cmake fix for clang 2024-12-03 13:49:42 +03:00
dtrace_prelink.cmake
FindBISON.cmake
FindGit.cmake
FindJava.cmake
FindJNI.cmake
FindLIBAIO.cmake
FindLZ4.cmake
FindURING.cmake
FindZSTD.cmake
for_clients.cmake
info_bin.cmake
info_macros.cmake.in
info_src.cmake
install_layout.cmake
install_macros.cmake
jemalloc.cmake
libutils.cmake better disable lto for libmysqld_exports.cc 2024-10-17 21:37:37 +02:00
maintainer.cmake Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
make_dist.cmake.in
mariadb_connector_c.cmake MDEV-34859: Pass thorugh -DWITH_BOOST_CONTEXT to libmariadb 2024-10-22 09:37:13 +02:00
merge_archives_unix.cmake
misc.cmake
mysql_add_executable.cmake
mysql_version.cmake
numa.cmake
package_name.cmake
pcre.cmake pcre.cmake: always check the library with check_library_exists() 2024-09-05 12:14:06 +10:00
plugin.cmake MDEV-33091 pcre2 headers aren't found on Solaris 2024-09-05 12:14:06 +10:00
readline.cmake
sign.cmake.in
ssl.cmake
submodules.cmake
symlinks.cmake
systemd.cmake
tags.cmake
versioninfo.rc.in
win_compatibility.manifest
wsrep.cmake MDEV-34313 WITHOUT_SERVER/WSREP postfix 2024-06-29 10:24:09 +10:00
zlib.cmake MDEV-33876 CMake, zlib - use names compatible with official FindZLIB.cmake 2024-05-03 21:48:47 +02:00