doc/CMakeLists.txt
changeset 1031 ae0b056593a7
parent 911 481496e6d71f
child 930 8e39ccaabf48
child 1032 62ba43576f85
equal deleted inserted replaced
15:ff03bfc86dd3 16:ddafa4252ead
    52       COMPONENT html_documentation
    52       COMPONENT html_documentation
    53     )
    53     )
    54   ENDIF()
    54   ENDIF()
    55 
    55 
    56 ENDIF()
    56 ENDIF()
       
    57 
       
    58 IF(WGET_FOUND)
       
    59 ADD_CUSTOM_TARGET(update-external-tags
       
    60   COMMAND ${CMAKE_COMMAND} -E make_directory dl
       
    61   # COMMAND ${CMAKE_COMMAND} -E copy libstdc++.tag dl
       
    62   COMMAND ${WGET_EXECUTABLE} wget -P dl -N libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
       
    63   COMMAND ${CMAKE_COMMAND} -E rename dl/libstdc++.tag libstdc++.tag
       
    64   COMMAND ${CMAKE_COMMAND} -E remove dl/libstdc++.tag
       
    65   COMMAND ${CMAKE_COMMAND} -E remove_directory dl
       
    66   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
       
    67   )
       
    68 ENDIF()