Commit 422fc103 authored by Mike Kremer's avatar Mike Kremer

Build plugin documentation with doc target.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9349 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2db97696
......@@ -231,6 +231,29 @@ function (_build_openflipper_plugin plugin)
.
${${_PLUGIN}_DIRS}
)
# Add plugin documentation
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Documentation)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Documentation/doxy.config.in)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Documentation/CMakeLists.txt)
#message("=========================================================")
#message("${plugin}: Adding plugin documentation dir")
#message("=========================================================")
add_subdirectory(Documentation)
endif()
else(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Documentation/doxy.config)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Documentation/CMakeLists.txt)
#message("=========================================================")
#message("${plugin}: Adding plugin documentation dir")
#message("=========================================================")
add_subdirectory(Documentation)
endif()
endif()
else()
#message("=========================================================")
#message("${plugin} does not have documentation yet, skipping!")
#message("=========================================================")
endif()
# collect all header,source and ui files
acg_append_files (headers "*.hh" ${directories})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment