bitcoin/cmake
merge-script 155963768a
Merge bitcoin/bitcoin#30842: build: Minimize I/O operations in GenerateHeaderFrom{Json,Raw}.cmake
b07fe666f2 build: Minimize I/O operations in `GenerateHeaderFrom{Json,Raw}.cmake` (Hennadii Stepanov)

Pull request description:

  This PR aims to reduce build time by replacing multiple `file(WRITE|APPEND ...)` commands with a single `file(WRITE ...)` command.

  Due to differences in implementation (e.g., filesystem design, system calls, caching), a noticeable improvement in build time is observed only on Windows.

  Additionally, the code has been refactored to remove the `remainder` local variables.

ACKs for top commit:
  sipsorcery:
    tACK b07fe666f2
  maflcko:
    review ACK b07fe666f2
  TheCharlatan:
    ACK b07fe666f2

Tree-SHA512: 6ed3ae8fe7d8859af38d83918eddf7cb318607787863b95589f4a7a45a36f8c4bd1c01e366078d0515115c121bc857dc63471e52ff26fc49edbc8bb69875e947
2024-09-12 09:37:42 +01:00
..
module cmake: add USE_SOURCE_PERMISSIONS to all configure_file usage 2024-09-06 10:52:19 +01:00
script build: Minimize I/O operations in GenerateHeaderFrom{Json,Raw}.cmake 2024-09-07 15:37:53 +01:00
bitcoin-config.h.in cmake: Add WITH_DBUS option 2024-08-16 19:27:42 +01:00
ccache.cmake cmake: Add ccache support 2024-08-16 19:27:37 +01:00
cov_tool_wrapper.sh.in cmake: Add Coverage and CoverageFuzz scripts 2024-08-16 21:19:12 +01:00
crc32c.cmake cmake: Build crc32c static library 2024-08-16 19:27:37 +01:00
introspection.cmake cmake: Build bitcoin_crypto library 2024-08-16 19:27:38 +01:00
leveldb.cmake cmake: Build leveldb static library 2024-08-16 19:27:38 +01:00
minisketch.cmake cmake: Build minisketch static library 2024-08-16 19:27:38 +01:00
tests.cmake cmake: Add Python-based tests 2024-08-16 19:27:41 +01:00