diff options
author | Josh Blum | 2011-10-19 16:21:50 -0700 |
---|---|---|
committer | Josh Blum | 2011-10-19 16:21:50 -0700 |
commit | a57f7484a1b1ba18b66334675ce6458b00d40626 (patch) | |
tree | 5102d0c5089bc2130ce199f810ceb6a4258e6777 /gnuradio-core/src | |
parent | cba101dc802b4d4fa8db42ff40d25995d50f2491 (diff) | |
download | gnuradio-a57f7484a1b1ba18b66334675ce6458b00d40626.tar.gz gnuradio-a57f7484a1b1ba18b66334675ce6458b00d40626.tar.bz2 gnuradio-a57f7484a1b1ba18b66334675ce6458b00d40626.zip |
swig: fix rules for generated index files
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/lib/gengen/CMakeLists.txt | 5 | ||||
-rw-r--r-- | gnuradio-core/src/lib/swig/CMakeLists.txt | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/gengen/CMakeLists.txt b/gnuradio-core/src/lib/gengen/CMakeLists.txt index a188dae0e..e3da278f2 100644 --- a/gnuradio-core/src/lib/gengen/CMakeLists.txt +++ b/gnuradio-core/src/lib/gengen/CMakeLists.txt @@ -113,7 +113,6 @@ expand_h_cc_i(gr_peak_detector_XX fb ib sb) add_custom_target(gengen_generated DEPENDS ${generated_gengen_includes} ${generated_gengen_swigs} - ${CMAKE_CURRENT_BINARY_DIR}/gengen_generated.i ) ######################################################################## @@ -148,6 +147,10 @@ add_custom_command( ${generated_gengen_swigs} ) +add_custom_target(gengen_generated_index DEPENDS + ${CMAKE_CURRENT_BINARY_DIR}/gengen_generated.i +) + ######################################################################## # Handle the generated sources + a few non-generated ones ######################################################################## diff --git a/gnuradio-core/src/lib/swig/CMakeLists.txt b/gnuradio-core/src/lib/swig/CMakeLists.txt index ef0772944..73a6f92ff 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 gengen_generated filter_generated) +set(GR_SWIG_TARGET_DEPS gengen_generated gengen_generated_index filter_generated) GR_SWIG_MAKE(gnuradio_core_runtime gnuradio_core_runtime.i) GR_SWIG_MAKE(gnuradio_core_general gnuradio_core_general.i) |