summaryrefslogtreecommitdiff
path: root/gr-trellis/python/trellis/bindings/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis/python/trellis/bindings/CMakeLists.txt')
-rw-r--r--gr-trellis/python/trellis/bindings/CMakeLists.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/gr-trellis/python/trellis/bindings/CMakeLists.txt b/gr-trellis/python/trellis/bindings/CMakeLists.txt
new file mode 100644
index 0000000000..c605b4cd19
--- /dev/null
+++ b/gr-trellis/python/trellis/bindings/CMakeLists.txt
@@ -0,0 +1,36 @@
+include(GrPybind)
+
+########################################################################
+# Python Bindings
+########################################################################
+
+list(APPEND trellis_python_files
+ # base_python.cc
+ # calc_metric_python.cc
+ constellation_metrics_cf_python.cc
+ # core_algorithms_python.cc
+ encoder_python.cc
+ fsm_python.cc
+ interleaver_python.cc
+ metrics_python.cc
+ pccc_decoder_blk_python.cc
+ pccc_decoder_combined_blk_python.cc
+ pccc_encoder_python.cc
+ permutation_python.cc
+ quicksort_index_python.cc
+ sccc_decoder_blk_python.cc
+ sccc_decoder_combined_blk_python.cc
+ sccc_encoder_python.cc
+ siso_combined_f_python.cc
+ siso_f_python.cc
+ siso_type_python.cc
+ viterbi_python.cc
+ viterbi_combined_python.cc
+ python_bindings.cc)
+
+GR_PYBIND_MAKE_CHECK_HASH(trellis
+ ../../..
+ gr::trellis
+ "${trellis_python_files}")
+
+install(TARGETS trellis_python DESTINATION ${GR_PYTHON_DIR}/gnuradio/trellis COMPONENT pythonapi)