summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum2011-10-03 15:29:39 -0700
committerJosh Blum2011-10-03 15:29:39 -0700
commitf29a49a40a3f706ae14d7d69c536d87eff3b53db (patch)
treed85ab60ef730780fa922e847b6241c819fa96817 /gr-trellis/src/lib/CMakeLists.txt
parentef7ab8e0e0965fd7b964bcfb23e7bfde16d7de42 (diff)
downloadgnuradio-f29a49a40a3f706ae14d7d69c536d87eff3b53db.tar.gz
gnuradio-f29a49a40a3f706ae14d7d69c536d87eff3b53db.tar.bz2
gnuradio-f29a49a40a3f706ae14d7d69c536d87eff3b53db.zip
trellis: make the lib/swig depend on the generated targets
Diffstat (limited to 'gr-trellis/src/lib/CMakeLists.txt')
-rw-r--r--gr-trellis/src/lib/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-trellis/src/lib/CMakeLists.txt b/gr-trellis/src/lib/CMakeLists.txt
index 6484cc173..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,6 +200,7 @@ 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}