~michael-sheldon/content-hub/qdoc-import-fix

« back to all changes in this revision

Viewing changes to doc/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Ken VanDine
  • Date: 2013-10-23 13:39:43 UTC
  • mfrom: (61.2.11 content-hub-qdoc)
  • Revision ID: tarmac-20131023133943-efzgnhvshuhtpeg8
Added qdoc docs for QML bindings.

Approved by PS Jenkins bot, Günter Schwann.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#
15
15
# Authored by: Thomas Voss <thomas.voss@canonical.com>
16
16
 
 
17
add_custom_target(doc ALL)
 
18
 
17
19
find_package(Doxygen)
18
20
 
19
21
if(DOXYGEN_FOUND)
20
22
  configure_file(
21
23
    ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in 
22
24
    ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
23
 
  add_custom_target(doc ALL 
 
25
  add_custom_target(cppdoc ALL 
24
26
    ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
25
27
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
26
28
    COMMENT "Generating API documentation with Doxygen" VERBATIM)
27
29
  install(
28
30
    DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
29
 
    DESTINATION share/doc/content-hub)
30
 
endif(DOXYGEN_FOUND)
 
 
b'\\ No newline at end of file'
 
31
    DESTINATION ${CMAKE_INSTALL_DOCDIR}/cpp)
 
32
  add_dependencies(doc cppdoc)
 
33
endif(DOXYGEN_FOUND)
 
34
 
 
35
add_subdirectory(qml)