summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2011-11-27 16:42:17 -0500
committerTom Rondeau <trondeau@vt.edu>2011-11-27 16:42:17 -0500
commit4686d1be9682c569a88b2ee14a91381de4f0fc1e (patch)
tree951921f744ccb5780c2ee26e3a5f522ff14df247 /gr-uhd
parent28b0c4e9924fa749a5b6a95eb1d0a5ff53943261 (diff)
docs: added python doxygen docs to gr-uhd
Diffstat (limited to 'gr-uhd')
-rw-r--r--gr-uhd/swig/CMakeLists.txt4
-rw-r--r--gr-uhd/swig/uhd_swig.i3
2 files changed, 7 insertions, 0 deletions
diff --git a/gr-uhd/swig/CMakeLists.txt b/gr-uhd/swig/CMakeLists.txt
index 4c778b05c5..7aa461ccad 100644
--- a/gr-uhd/swig/CMakeLists.txt
+++ b/gr-uhd/swig/CMakeLists.txt
@@ -29,6 +29,10 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_UHD_INCLUDE_DIRS}
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}
)
+
+set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/uhd_swig_doc.i)
+set(GR_SWIG_DOC_DIRS ${GR_UHD_INCLUDE_DIRS})
+
link_directories(${UHD_LIBRARY_DIRS})
set(GR_SWIG_LIBRARIES gnuradio-uhd ${UHD_LIBRARIES})
diff --git a/gr-uhd/swig/uhd_swig.i b/gr-uhd/swig/uhd_swig.i
index 6ff9d98437..0b2f9febc5 100644
--- a/gr-uhd/swig/uhd_swig.i
+++ b/gr-uhd/swig/uhd_swig.i
@@ -34,6 +34,9 @@
////////////////////////////////////////////////////////////////////////
%include "gnuradio.i"
+//load generated python docstrings
+%include "uhd_swig_doc.i"
+
////////////////////////////////////////////////////////////////////////
// block headers
////////////////////////////////////////////////////////////////////////