Skip to content

Commit

Permalink
C#: Add autogenerated Doxygen for C# bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz committed Apr 16, 2020
1 parent 6272fa7 commit 78bb681
Show file tree
Hide file tree
Showing 3 changed files with 1,942 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ if(WITH_DOC)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/bindings/csharp/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_csharp @ONLY)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/CI/travis/generateDocumentationAndDeploy.sh.in
${CMAKE_CURRENT_BINARY_DIR}/generateDocumentationAndDeploy.sh @ONLY)
Expand All @@ -405,6 +408,10 @@ if(WITH_DOC)
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM)
add_custom_command(TARGET iio POST_BUILD
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_csharp
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating C# documentation with Doxygen" VERBATIM)

if(NOT SKIP_INSTALL_ALL)
install(DIRECTORY ${HTML_DEST_DIR}
Expand Down
Loading

0 comments on commit 78bb681

Please sign in to comment.