summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorJosh Blum2011-09-07 23:14:57 -0700
committerJosh Blum2011-09-07 23:14:57 -0700
commitd50ffb57b3adc09fe81d01c3fdb09dcdf55afef2 (patch)
tree235df8c94e9ca0afc93c5ab133551a64f8e13a16 /gnuradio-core/src/lib
parentca86c6f82d81bbc57bfe898afb8489a419ddbe63 (diff)
downloadgnuradio-d50ffb57b3adc09fe81d01c3fdb09dcdf55afef2.tar.gz
gnuradio-d50ffb57b3adc09fe81d01c3fdb09dcdf55afef2.tar.bz2
gnuradio-d50ffb57b3adc09fe81d01c3fdb09dcdf55afef2.zip
core: added source deps to swig files (regen on *.h,*.i)
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/swig/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/swig/CMakeLists.txt b/gnuradio-core/src/lib/swig/CMakeLists.txt
index c46b720c5..0d10245bf 100644
--- a/gnuradio-core/src/lib/swig/CMakeLists.txt
+++ b/gnuradio-core/src/lib/swig/CMakeLists.txt
@@ -42,15 +42,41 @@ SET(GR_SWIG_LIBRARIES gnuradio-core)
# smaller pieces for the compiler to digest. prior to this change, on
# X86_64, g++'s resident set size was 650MB!
# ----------------------------------------------------------------
+FILE(GLOB GR_SWIG_SOURCE_DEPS
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/runtime/*.i"
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/runtime/*.h"
+)
GR_SWIG_MAKE(gnuradio_core_runtime gnuradio_core_runtime.i)
+UNSET(GR_SWIG_SOURCE_DEPS)
+
+FILE(GLOB GR_SWIG_SOURCE_DEPS
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/general/*.i"
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/general/*.h"
+)
GR_SWIG_MAKE(gnuradio_core_general gnuradio_core_general.i)
+UNSET(GR_SWIG_SOURCE_DEPS)
+
SET(GR_SWIG_TARGET_DEPS gengen_generated)
GR_SWIG_MAKE(gnuradio_core_gengen gnuradio_core_gengen.i)
+UNSET(GR_SWIG_TARGET_DEPS)
+
SET(GR_SWIG_TARGET_DEPS filter_generated)
GR_SWIG_MAKE(gnuradio_core_filter gnuradio_core_filter.i)
UNSET(GR_SWIG_TARGET_DEPS)
+
+FILE(GLOB GR_SWIG_SOURCE_DEPS
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/io/*.i"
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/io/*.h"
+)
GR_SWIG_MAKE(gnuradio_core_io gnuradio_core_io.i)
+UNSET(GR_SWIG_SOURCE_DEPS)
+
+FILE(GLOB GR_SWIG_SOURCE_DEPS
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/hier/*.i"
+ "${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/hier/*.h"
+)
GR_SWIG_MAKE(gnuradio_core_hier gnuradio_core_hier.i)
+UNSET(GR_SWIG_SOURCE_DEPS)
GR_SWIG_INSTALL(TARGETS
gnuradio_core_runtime