dbus/cmake/doc CMakeLists.txt,NONE,1.1

Ralf Habacker rhabacker at kemper.freedesktop.org
Tue Mar 13 17:16:07 PDT 2007


Update of /cvs/dbus/dbus/cmake/doc
In directory kemper:/tmp/cvs-serv23558/cmake/doc

Added Files:
	CMakeLists.txt 
Log Message:
* cmake: added doxygen support

--- NEW FILE: CMakeLists.txt ---
find_package(Doxygen)

if(DOXYGEN_EXECUTABLE)
  OPTION(DBUS_ENABLE_DOXYGEN_DOCS "build DOXYGEN documentation (requires Doxygen)" ON)
endif(DOXYGEN_EXECUTABLE)


set (top_srcdir ${CMAKE_SOURCE_DIR}/..)
configure_file(${CMAKE_SOURCE_DIR}/Doxyfile.cmake ${CMAKE_BINARY_DIR}/Doxyfile )
if (DBUS_ENABLE_DOXYGEN_DOCS)
    add_custom_target(doc 
        COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
    )
endif (DBUS_ENABLE_DOXYGEN_DOCS)



More information about the dbus-commit mailing list