mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-01 09:16:35 +00:00
The warnings are false positive and have been fixed upstream. See: https://github.com/capnproto/capnproto/pull/2334. This change disables the `UndefinedBinaryOperatorResult` clang-tidy check for source files generated by the `mpgen` tool.
26 lines
594 B
CMake
26 lines
594 B
CMake
# Copyright (c) 2023-present The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or https://opensource.org/license/mit/.
|
|
|
|
add_library(bitcoin_ipc STATIC EXCLUDE_FROM_ALL
|
|
capnp/mining.cpp
|
|
capnp/protocol.cpp
|
|
interfaces.cpp
|
|
process.cpp
|
|
)
|
|
|
|
target_capnp_sources(bitcoin_ipc ${PROJECT_SOURCE_DIR}
|
|
capnp/common.capnp
|
|
capnp/echo.capnp
|
|
capnp/init.capnp
|
|
capnp/mining.capnp
|
|
)
|
|
|
|
target_link_libraries(bitcoin_ipc
|
|
PRIVATE
|
|
core_interface
|
|
univalue
|
|
)
|
|
|
|
configure_file(.clang-tidy.in .clang-tidy USE_SOURCE_PERMISSIONS COPYONLY)
|