0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-21 12:22:50 -05:00
bitcoin-bitcoin-core/cmake/module
merge-script 0b6ed342b5
Merge bitcoin/bitcoin#31711: build: set build type and per-build-type flags as early as possible
56a9b847bb build: set build type and per-build-type flags as early as possible (Cory Fields)
f605f7a9c2 build: refactor: set debug definitions in main CMakeLists (Cory Fields)

Pull request description:

  This ensures that most compiler tests are not run with the wrong build type's flags. The initial c++ checks are an exception to that because many internal CMake variables are unset until a language is selected, so it's problematic to change our build type before that.

  The difference can be seen in `build/CMakeFiles/CMakeConfigureLog.yaml`. Before, `Debug` was used for many of the earlly checks. After this PR, it's only the first 2 checks.

ACKs for top commit:
  hebasto:
    ACK 56a9b847bb.

Tree-SHA512: 87947352d6d4fd08554515822cb13634ed3be33fcda2af817c22ef943b1d0856ceb39311ddc01b8221397528fdc09f630dc7e74fc92f5a4a073f09c4ae493596
2025-02-12 10:41:25 +01: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
CheckSourceCompilesAndLinks.cmake cmake: Add introspection module 2024-08-16 19:27:36 +01: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
GenerateHeaders.cmake test: Use span for raw data 2024-09-05 10:57:19 +02: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
Maintenance.cmake guix: remove test-security/symbol-check scripts 2025-02-10 11:12:33 +01:00
ProcessConfigurations.cmake build: set build type and per-build-type flags as early as possible 2025-02-10 21:51:22 +00:00
TestAppendRequiredLibraries.cmake cmake: Add introspection module 2024-08-16 19:27:36 +01:00
TryAppendCXXFlags.cmake cmake: Fix IF_CHECK_PASSED option handling 2024-11-06 08:59:15 +00:00
TryAppendLinkerFlag.cmake cmake: Fix IF_CHECK_PASSED option handling 2024-11-06 08:59:15 +00:00
WarnAboutGlobalProperties.cmake cmake: Introduce interface libraries to encapsulate common flags 2024-08-16 19:27:34 +01:00