bemenu/doxygen/CMakeLists.txt

13 lines
428 B
CMake
Raw Normal View History

2014-03-18 17:35:10 +00:00
FIND_PACKAGE(Doxygen)
IF (DOXYGEN_FOUND)
CONFIGURE_FILE(Doxyfile.in Doxyfile @ONLY)
ADD_CUSTOM_TARGET(doxygen
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating bemenu documentation with Doxygen" VERBATIM)
MESSAGE("-!- Use 'make doxygen' to generate documentation")
ENDIF (DOXYGEN_FOUND)
# vim: set ts=8 sw=4 tw=0 :