aboutsummaryrefslogtreecommitdiff
path: root/src/ipc
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-08-06 18:23:24 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-08-16 21:19:10 +0100
commit90cec4d251a541adfc5953e24dc01840a8cb4af2 (patch)
tree00378e56b2e9e5f7264664f9de36e0d5647bd119 /src/ipc
parentbb1a450dcb111746869547c8b538b5d2472cf8e6 (diff)
downloadbitcoin-90cec4d251a541adfc5953e24dc01840a8cb4af2.tar.xz
cmake: Add `MULTIPROCESS` option
Diffstat (limited to 'src/ipc')
-rw-r--r--src/ipc/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ipc/CMakeLists.txt b/src/ipc/CMakeLists.txt
new file mode 100644
index 0000000000..94b1ceb54e
--- /dev/null
+++ b/src/ipc/CMakeLists.txt
@@ -0,0 +1,18 @@
+# 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/protocol.cpp
+ interfaces.cpp
+ process.cpp
+)
+
+target_capnp_sources(bitcoin_ipc ${PROJECT_SOURCE_DIR}
+ capnp/echo.capnp capnp/init.capnp
+)
+
+target_link_libraries(bitcoin_ipc
+ PRIVATE
+ core_interface
+)