diff options
-rw-r--r-- | gr-qtgui/swig/CMakeLists.txt | 3 | ||||
-rw-r--r-- | gr-qtgui/swig/qtgui_swig.i | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/swig/CMakeLists.txt b/gr-qtgui/swig/CMakeLists.txt index 34b40fb7e..43c59033c 100644 --- a/gr-qtgui/swig/CMakeLists.txt +++ b/gr-qtgui/swig/CMakeLists.txt @@ -29,6 +29,9 @@ set(GR_SWIG_INCLUDE_DIRS ${QWT_INCLUDE_DIRS} ) +set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/qtgui_swig_doc.i) +set(GR_SWIG_DOC_DIRS ${GR_QTGUI_INCLUDE_DIRS}) + set(GR_SWIG_LIBRARIES gnuradio-qtgui) GR_SWIG_MAKE(qtgui_swig qtgui_swig.i) diff --git a/gr-qtgui/swig/qtgui_swig.i b/gr-qtgui/swig/qtgui_swig.i index 7cf8873e7..6e5f6e124 100644 --- a/gr-qtgui/swig/qtgui_swig.i +++ b/gr-qtgui/swig/qtgui_swig.i @@ -22,6 +22,9 @@ %include "gnuradio.i" +//load generated python docstrings +%include "qtgui_swig_doc.i" + %{ #include "qtgui_sink_c.h" #include "qtgui_sink_f.h" |