source: pacpusframework/trunk/doc/CMakeLists.txt@ 115

Last change on this file since 115 was 64, checked in by Marek Kurdej, 11 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.