summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis/src/lib/CMakeLists.txt')
-rw-r--r--gr-trellis/src/lib/CMakeLists.txt15
1 files changed, 6 insertions, 9 deletions
diff --git a/gr-trellis/src/lib/CMakeLists.txt b/gr-trellis/src/lib/CMakeLists.txt
index e9222b5fd..3e449bcf8 100644
--- a/gr-trellis/src/lib/CMakeLists.txt
+++ b/gr-trellis/src/lib/CMakeLists.txt
@@ -100,6 +100,11 @@ expand_h_cc_i(trellis_sccc_decoder_combined_XX fb fs fi cb cs ci)
expand_h_cc_i(trellis_pccc_decoder_X b s i)
expand_h_cc_i(trellis_pccc_decoder_combined_XX fb fs fi cb cs ci)
+ADD_CUSTOM_TARGET(trellis_generated DEPENDS
+ ${generated_trellis_includes}
+ ${generated_trellis_swigs}
+)
+
########################################################################
# Create the master trellis swig include files
########################################################################
@@ -195,21 +200,13 @@ IF(ENABLE_PYTHON)
INCLUDE(GrPython)
INCLUDE(GrSwig)
+SET(GR_SWIG_TARGET_DEPS gengen_generated trellis_generated)
SET(GR_SWIG_INCLUDE_DIRS
${GR_TRELLIS_INCLUDE_DIRS}
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}
${GR_DIGITAL_SWIG_INCLUDE_DIRS}
)
-
SET(GR_SWIG_LIBRARIES gnuradio-trellis)
-FILE(GLOB GR_SWIG_SOURCE_DEPS
- "${CMAKE_CURRENT_SOURCE_DIR}/*.i"
- "${CMAKE_CURRENT_SOURCE_DIR}/*.h"
-)
-LIST(APPEND GR_SWIG_SOURCE_DEPS
- ${generated_trellis_swigs}
- ${generated_trellis_includes}
-)
GR_SWIG_MAKE(trellis trellis.i)
GR_SWIG_INSTALL(