summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorJohnathan Corgan2012-07-03 14:21:05 -0700
committerJohnathan Corgan2012-07-03 14:21:05 -0700
commit76258270f53da9a7b6bdeed0b38dde735956012e (patch)
treefa9f6f1e69d07d5aacdf69f3cd74a0ff5f288264 /gnuradio-core/src/lib
parent744ffd50ac5a73ce3619ae11ef9cf04c0886d74a (diff)
downloadgnuradio-76258270f53da9a7b6bdeed0b38dde735956012e.tar.gz
gnuradio-76258270f53da9a7b6bdeed0b38dde735956012e.tar.bz2
gnuradio-76258270f53da9a7b6bdeed0b38dde735956012e.zip
swig: added additional swig dependencies gruel/core
pmt swig gen depends upon the generated header core depends upon pmt swig custom target Conflicts: gruel/src/swig/CMakeLists.txt
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/swig/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/swig/CMakeLists.txt b/gnuradio-core/src/lib/swig/CMakeLists.txt
index 565bfd691..5b740d916 100644
--- a/gnuradio-core/src/lib/swig/CMakeLists.txt
+++ b/gnuradio-core/src/lib/swig/CMakeLists.txt
@@ -43,7 +43,7 @@ set(GR_SWIG_LIBRARIES gnuradio-core)
# X86_64, g++'s resident set size was 650MB!
# ----------------------------------------------------------------
-set(GR_SWIG_TARGET_DEPS general_generated gengen_generated filter_generated)
+set(GR_SWIG_TARGET_DEPS general_generated gengen_generated filter_generated pmt_swig)
foreach(what runtime general gengen filter io hier)
SET(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/${what}_swig_doc.i)
@@ -61,8 +61,11 @@ foreach(what runtime general gengen filter io hier)
DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig
COMPONENT "core_swig"
)
+ list(APPEND core_swig_deps ${SWIG_MODULE_gnuradio_core_${what}_REAL_NAME})
endforeach(what)
+add_custom_target(core_swig DEPENDS ${core_swig_deps})
+
########################################################################
# Install various files
########################################################################