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 add_custom_target(doxygen_copy_fracture_mechanics_figures
16  ${CMAKE_COMMAND} -E copy_directory
17  ${ADD_DOC_DIRECTORY}/figures ${PROJECT_BINARY_DIR}/html
18 )
19 add_dependencies(doc doxygen_copy_fracture_mechanics_figures)
20 
21 #copy pdfs form users UM documentation
22 add_custom_target(doxygen_copy_fracture_mechanics_pdfs
23  ${CMAKE_COMMAND} -E copy_directory
24  ${ADD_DOC_DIRECTORY}/pdfs ${PROJECT_BINARY_DIR}/html
25 )
26 add_dependencies(doc doxygen_copy_fracture_mechanics_pdfs)