summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-05 13:16:27 -0700
committerJosh Blum <josh@joshknows.com>2011-11-05 13:16:27 -0700
commit2a0d169a5cc3856f77091cb755770b0e42d9fbd9 (patch)
tree38b552a4bd8a8031ef03f756036b609ffa95832e /gr-trellis/src/lib
parent0b3a4a2c43e9fd4e3cc03c694b408034954c9d74 (diff)
cmake: make the swig cxx file gen depend on the specified targets
made a handy helper macro in grmisc to make this simpler
Diffstat (limited to 'gr-trellis/src/lib')
-rw-r--r--gr-trellis/src/lib/CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/gr-trellis/src/lib/CMakeLists.txt b/gr-trellis/src/lib/CMakeLists.txt
index 5a1c33c444..36434fe9fa 100644
--- a/gr-trellis/src/lib/CMakeLists.txt
+++ b/gr-trellis/src/lib/CMakeLists.txt
@@ -100,11 +100,6 @@ 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
########################################################################
@@ -200,7 +195,10 @@ if(ENABLE_PYTHON)
include(GrPython)
include(GrSwig)
-set(GR_SWIG_TARGET_DEPS trellis_generated)
+set(GR_SWIG_SOURCE_DEPS
+ ${generated_trellis_includes}
+ ${generated_trellis_swigs}
+)
set(GR_SWIG_INCLUDE_DIRS
${GR_TRELLIS_INCLUDE_DIRS}
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}