v0.14.0
AddDocumentation.cmake
Go to the documentation of this file.
1 # MoFEM is free software: you can redistribute it and/or modify it under
2 # the terms of the GNU Lesser General Public License as published by the
3 # Free Software Foundation, either version 3 of the License, or (at your
4 # option) any later version.
5 #
6 # MoFEM is distributed in the hope that it will be useful, but WITHOUT
7 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
9 # License for more details.
10 #
11 # You should have received a copy of the GNU Lesser General Public
12 # License along with MoFEM. If not, see <http://www.gnu.org/licenses/>
13 
14 # copy dox/figures to html directory created by doxygen
15 
16 set(ADOLC_DOC_DIR ${ADD_DOC_DIRECTORY})
17 
18 add_custom_target(doxygen_copy_adolc_plasticity_figures
19  ${CMAKE_COMMAND} -E copy_directory
20  ${ADOLC_DOC_DIR}/figures ${PROJECT_BINARY_DIR}/html
21 )
22 add_dependencies(doc doxygen_copy_adolc_plasticity_figures)