Warning, /libraries/phonon/doc/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(PHONON_LOGO_PATH ${CMAKE_CURRENT_SOURCE_DIR}/phonon-logo.png)
0002 set(PHONON_DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})
0003 
0004 set(PHONON_BUILD_DOC_QCH "yes")
0005 set(PHONON_DOXYGEN_QHP_NAMESPACE "org.kde.phonon.${PHONON_VERSION}")
0006 
0007 set(PHONON_DOXYGEN_SRCS
0008     ${PHONON_SOURCE_DIR}/Mainpage.dox
0009     ${PHONON_SOURCE_DIR}/doc/Backend.dox
0010     ${PHONON_SOURCE_DIR}/doc/Phonon4Qt5.dox
0011     ${PHONON_SOURCE_DIR}/phonon
0012 )
0013 string(REGEX REPLACE ";" " " PHONON_DOXYGEN_SRCS "${PHONON_DOXYGEN_SRCS}")
0014 
0015 set(PHONON_DOXYGEN_EXCLUDE
0016     ${PHONON_SOURCE_DIR}/phonon/backend
0017     ${PHONON_SOURCE_DIR}/phonon/experimental
0018 )
0019 string(REGEX REPLACE ";" " " PHONON_DOXYGEN_EXCLUDE "${PHONON_DOXYGEN_EXCLUDE}")
0020 
0021 
0022 configure_file(Doxyfile.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
0023 
0024 add_custom_target("html" ALL
0025     doxygen ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
0026     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
0027 
0028 add_custom_target("qch" ALL DEPENDS "html")
0029 
0030 add_custom_target("doc" ALL DEPENDS "html" "qch")
0031 
0032 INSTALL(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/" DESTINATION "${KDE_INSTALL_DATAROOTDIR}/libphonon/" )