/alps/ufodecode

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ufodecode

« back to all changes in this revision

Viewing changes to doc/CMakeLists.txt

  • Committer: Matthias Vogelgesang
  • Date: 2011-12-02 09:36:11 UTC
  • Revision ID: matthias.vogelgesang@kit.edu-20111202093611-f1lx9jlt947p391a
Add documentation and split CMakeLists

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cmake_minimum_required(VERSION 2.8)
 
2
 
 
3
find_package(Doxygen)
 
4
 
 
5
# --- Create Doxygen source documentation by typing `make doc`
 
6
if(DOXYGEN_FOUND)
 
7
    configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
 
8
 
 
9
    # add 'ALL after 'doc' to create documentation, whenever you type make
 
10
    add_custom_target(doc
 
11
        ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
 
12
        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
 
13
        COMMENT "Generating API documentation with Doxygen" VERBATIM
 
14
        )
 
15
endif(DOXYGEN_FOUND)