bitcoin/cmake/module
merge-script 140f0d89bf
Merge bitcoin/bitcoin#32027: cmake: Add NO_CACHE_IF_FAILED option for checking linker flags
52ac17757e cmake: Add `NO_CACHE_IF_FAILED` option for checking linker flags (Hennadii Stepanov)

Pull request description:

  Use it for checking `-fsanitize`.

  This change improves the user experience when the configuration step fails due to a missing library. Now, there is no need to manually clean the CMake cache after installing the required library.

  Addresses [this](https://github.com/bitcoin/bitcoin/issues/31942#issuecomment-2703801270) comment from https://github.com/bitcoin/bitcoin/issues/31942.

ACKs for top commit:
  fanquake:
    ACK 52ac17757e

Tree-SHA512: 4004110585413792faa01551cf5a5b3b0de7f213c7a1dd333647107741f84abf626fd0ed067fc17e4c5a523de549432738d3752facf25d1e3dab240be8d13d03
2025-03-27 15:44:26 +08:00
..
AddBoostIfNeeded.cmake cmake: scope Boost Test check to vcpkg 2024-09-05 16:15:27 +01:00
AddWindowsResources.cmake cmake: Add AddWindowsResources module 2024-08-16 21:19:11 +01:00
CheckLinkerSupportsPIE.cmake cmake: Refer to the configure log instead of printing PIE test error 2025-01-23 15:38:36 +00:00
CheckSourceCompilesWithFlags.cmake scripted-diff: Rename CMake helper module 2025-02-20 12:39:20 +00:00
FindBerkeleyDB.cmake cmake: Add wallet functionality 2024-08-16 19:27:40 +01:00
FindLibevent.cmake cmake, refactor: Move HAVE_EVHTTP_... to libevent interface 2024-11-06 15:40:42 +00:00
FindQRencode.cmake cmake: Add FindQRencode module 2024-11-05 16:38:19 +00:00
FindQt.cmake cmake: Avoid hardcoding Qt's major version in Find module 2024-10-01 13:43:30 +01:00
FindUSDT.cmake tracing: dedup TRACE macros & rename to TRACEPOINT 2024-10-28 14:23:47 +01:00
FindZeroMQ.cmake cmake: Add FindZeroMQ module 2024-10-25 18:09:36 +01:00
FlagsSummary.cmake build: Print CMAKE_CXX_COMPILER_ARG1 in summary 2024-09-06 21:59:52 +01:00
GenerateSetupNsi.cmake build: Rename PACKAGE_* variables to CLIENT_* 2024-10-28 12:35:55 +00:00
GetTargetInterface.cmake cmake: Print compiler and linker flags in summary 2024-08-16 19:27:36 +01:00
InstallBinaryComponent.cmake cmake: add and use install_binary_component 2025-02-13 18:14:41 +00:00
Maintenance.cmake Merge bitcoin/bitcoin#32019: cmake: Check for makensis and zip tools before using them for optional deploy targets 2025-03-18 17:10:40 +08:00
ProcessConfigurations.cmake build: set build type and per-build-type flags as early as possible 2025-02-10 21:51:22 +00:00
TargetDataSources.cmake cmake: Add support for builtin codegen target 2025-02-21 11:11:30 +00:00
TestAppendRequiredLibraries.cmake scripted-diff: Rename CMake helper module 2025-02-20 12:39:20 +00:00
TryAppendCXXFlags.cmake cmake: Fix IF_CHECK_PASSED option handling 2024-11-06 08:59:15 +00:00
TryAppendLinkerFlag.cmake cmake: Add NO_CACHE_IF_FAILED option for checking linker flags 2025-03-10 16:55:48 +00:00
WarnAboutGlobalProperties.cmake cmake: Introduce interface libraries to encapsulate common flags 2024-08-16 19:27:34 +01:00