build: exclude mptest target from compile commands #35418

pull Sanjana2906 wants to merge 1 commits into bitcoin:master from Sanjana2906:fix/iwyu-test-exclude changing 1 files +1 −0
  1. Sanjana2906 commented at 6:28 AM on May 30, 2026: none

    Fixes #35361

    The mptest target includes generated .capnp.h files that don't exist at CMake configure time. When IWYU reads compile_commands.json, it sees these non-existent files and fails.

    This PR excludes the mptest target from the compilation database by setting EXPORT_COMPILE_COMMANDS OFF, following the same pattern already applied to the mpcalculator, mpprinter, and mpexample targets in the same file.

    This change belongs in cmake/libmultiprocess.cmake (the integration layer).

  2. build: exclude mptest target from compile commands 1a3f741d60
  3. DrahtBot added the label Build system on May 30, 2026
  4. DrahtBot commented at 6:28 AM on May 30, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35418.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-31 17:50 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me