diff options
-rw-r--r-- | gr-atsc/src/lib/CMakeLists.txt | 4 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsc.i | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gr-atsc/src/lib/CMakeLists.txt b/gr-atsc/src/lib/CMakeLists.txt index 1d4501d27..1749d4d15 100644 --- a/gr-atsc/src/lib/CMakeLists.txt +++ b/gr-atsc/src/lib/CMakeLists.txt @@ -209,6 +209,10 @@ set(GR_SWIG_INCLUDE_DIRS ${GNURADIO_CORE_SWIG_INCLUDE_DIRS} ) +# add Doxygen docs to python +set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/atsc_swig_doc.i) +set(GR_SWIG_DOC_DIRS ${GR_ATSC_INCLUDE_DIRS}) + set(GR_SWIG_LIBRARIES gnuradio-atsc) GR_SWIG_MAKE(atsc atsc.i) diff --git a/gr-atsc/src/lib/atsc.i b/gr-atsc/src/lib/atsc.i index e9746551a..c26584cc2 100644 --- a/gr-atsc/src/lib/atsc.i +++ b/gr-atsc/src/lib/atsc.i @@ -22,6 +22,9 @@ %include "gnuradio.i" // the common stuff +//load generated python docstrings +%include "atsc_swig_doc.i" + %{ #include <atsc_randomizer.h> #include <atsc_derandomizer.h> |