summaryrefslogtreecommitdiff
path: root/gr-atsc/src
diff options
context:
space:
mode:
authorTom Rondeau2011-11-27 15:51:43 -0500
committerTom Rondeau2011-11-27 15:51:43 -0500
commit6e08854108887d23c4cac4b6e164205544c56099 (patch)
tree397c49aa7ce8ce077940eea96db0a660056beddd /gr-atsc/src
parent633fd3b6cfc6c735a5adf2e91328fed4c67d7f51 (diff)
downloadgnuradio-6e08854108887d23c4cac4b6e164205544c56099.tar.gz
gnuradio-6e08854108887d23c4cac4b6e164205544c56099.tar.bz2
gnuradio-6e08854108887d23c4cac4b6e164205544c56099.zip
docs: added python doxygen docs to gr-atsc.
Diffstat (limited to 'gr-atsc/src')
-rw-r--r--gr-atsc/src/lib/CMakeLists.txt4
-rw-r--r--gr-atsc/src/lib/atsc.i3
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>