source: pacpusframework/branches/0.0.x/doc/CMakeLists.txt@ 320

Last change on this file since 320 was 64, checked in by Marek Kurdej, 12 years ago

Modified property: added svn:keywords=Id.

  • Property svn:keywords set to Id
File size: 882 bytes
Line 
1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9
10if(PACPUS_BUILD_DOC)
11 # Debug
12 pacpus_info("Adding target: documentation")
13 # Configure the template Doxyfile for our specific project
14 configure_file(doxyfile.in ${CMAKE_BINARY_DIR}/Doxyfile @ONLY IMMEDIATE)
15 # Add a custom target to run Doxygen when ever the project is built
16 add_custom_target (
17 documentation
18 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
19 SOURCES ${CMAKE_BINARY_DIR}/Doxyfile)
20endif()
Note: See TracBrowser for help on using the repository browser.