File tree Expand file tree Collapse file tree 3 files changed +1942
-0
lines changed Expand file tree Collapse file tree 3 files changed +1942
-0
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,9 @@ if(WITH_DOC)
393393 configure_file (
394394 ${CMAKE_CURRENT_SOURCE_DIR} /Doxyfile.in
395395 ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile @ONLY)
396+ configure_file (
397+ ${CMAKE_CURRENT_SOURCE_DIR} /bindings/csharp/Doxyfile.in
398+ ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile_csharp @ONLY)
396399 configure_file (
397400 ${CMAKE_CURRENT_SOURCE_DIR} /CI/travis/generateDocumentationAndDeploy.sh.in
398401 ${CMAKE_CURRENT_BINARY_DIR} /generateDocumentationAndDeploy.sh @ONLY)
@@ -405,6 +408,10 @@ if(WITH_DOC)
405408 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile
406409 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
407410 COMMENT "Generating API documentation with Doxygen" VERBATIM )
411+ add_custom_command (TARGET iio POST_BUILD
412+ COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile_csharp
413+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
414+ COMMENT "Generating C# documentation with Doxygen" VERBATIM )
408415
409416 if (NOT SKIP_INSTALL_ALL)
410417 install (DIRECTORY ${HTML_DEST_DIR}
You can’t perform that action at this time.
0 commit comments