summaryrefslogtreecommitdiff
path: root/gr-zeromq/python/zeromq/bindings/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gr-zeromq/python/zeromq/bindings/CMakeLists.txt')
-rw-r--r--gr-zeromq/python/zeromq/bindings/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/gr-zeromq/python/zeromq/bindings/CMakeLists.txt b/gr-zeromq/python/zeromq/bindings/CMakeLists.txt
new file mode 100644
index 0000000000..a70459b95d
--- /dev/null
+++ b/gr-zeromq/python/zeromq/bindings/CMakeLists.txt
@@ -0,0 +1,27 @@
+include(GrPybind)
+
+########################################################################
+# Python Bindings
+########################################################################
+
+list(APPEND zeromq_python_files
+ pub_msg_sink_python.cc
+ pub_sink_python.cc
+ pull_msg_source_python.cc
+ pull_source_python.cc
+ push_msg_sink_python.cc
+ push_sink_python.cc
+ rep_msg_sink_python.cc
+ rep_sink_python.cc
+ req_msg_source_python.cc
+ req_source_python.cc
+ sub_msg_source_python.cc
+ sub_source_python.cc
+ python_bindings.cc)
+
+GR_PYBIND_MAKE_CHECK_HASH(zeromq
+ ../../..
+ gr::zeromq
+ "${zeromq_python_files}")
+
+install(TARGETS zeromq_python DESTINATION ${GR_PYTHON_DIR}/gnuradio/zeromq COMPONENT pythonapi)