mirror of
https://github.com/MariaDB/server.git
synced 2025-10-26 16:38:11 +01:00
Prepare for a more modern CMake version than the current minimum.
- Use CMAKE_MSVC_RUNTIME_LIBRARY instead of the custom MSVC_CRT_TYPE.
- Replace CMAKE_{C,CXX}_FLAGS modifications with
add_compile_definitions/options and add_link_options.
The older method already broke with new pcre2.
- Fix clang-cl compilation and ASAN build.
- Avoid modifying CMAKE_C_STANDARD_LIBRARIES/CMAKE_CXX_STANDARD_LIBRARIES,
as this is discouraged by CMake.
- Reduce system checks.
|
||
|---|---|---|
| .. | ||
| AIX.cmake | ||
| Cygwin.cmake | ||
| FreeBSD.cmake | ||
| GNU.cmake | ||
| HP-UX.cmake | ||
| Linux.cmake | ||
| OS400.cmake | ||
| SunOS.cmake | ||
| Windows.cmake | ||
| WindowsCache.cmake | ||