Mercurial > irccd
changeset 274:750157368a42
CMake: add documentation to plugin targets
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 28 Sep 2016 13:39:15 +0200 |
parents | 7069219bf764 |
children | c143682678b9 |
files | cmake/function/IrccdDefinePlugin.cmake |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cmake/function/IrccdDefinePlugin.cmake Wed Sep 28 13:15:06 2016 +0200 +++ b/cmake/function/IrccdDefinePlugin.cmake Wed Sep 28 13:39:15 2016 +0200 @@ -72,6 +72,7 @@ plugin-${PLG_NAME} ALL DEPENDS ${PLG_OUTPUT_DOC} + SOURCES ${PLG_SCRIPT} ${PLG_DOCS} ) endfunction() @@ -80,7 +81,7 @@ message(FATAL_ERROR "Missing SOURCES parameter") endif () - add_library(plugin-${PLG_NAME} MODULE ${PLG_SOURCES} ${PLG_OUTPUT_DOC}) + add_library(plugin-${PLG_NAME} MODULE ${PLG_SOURCES} ${PLG_OUTPUT_DOC} ${PLG_DOCS}) # Move the target into the native plugin directory and rename it. set_target_properties(