From: Timo Heister Date: Wed, 9 Sep 2015 15:17:11 +0000 (-0400) Subject: add documentation files to IDE projects X-Git-Tag: v8.4.0-rc2~437^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902ee8fec36b735a9fa063b6d78d71597f7ac274;p=dealii.git add documentation files to IDE projects IDEs like qtcreator only pull in files into the project if they are part of a target. Create a dummy target to do this. --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index dad0c7b507..7290bfe094 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -57,3 +57,15 @@ INSTALL(FILES DESTINATION ${DEAL_II_DOCREADME_RELDIR} COMPONENT library ) + +# +# Add a dummy target to make documentation files known to IDEs. +# + +FILE(GLOB _misc + ${CMAKE_CURRENT_SOURCE_DIR}/doxygen/headers/*.h + ${CMAKE_CURRENT_SOURCE_DIR}/news/changes.h + ) + +ADD_LIBRARY(doxygen_headers OBJECT ${_misc}) +SET_TARGET_PROPERTIES(doxygen_headers PROPERTIES LINKER_LANGUAGE C)