Commit cfe2f4b7 authored by Ralf Habacker's avatar Ralf Habacker

Add cmake target 'apidoc' for generating doxygen based api doc

parent ee85974d
......@@ -323,6 +323,14 @@ add_unstable_feature(XMIRESOLUTION) # see https://bugs.kde.org/show_bug.cgi?id=9
# because of using umbrello specific XMI tag (UML:InstanceAttribute).
add_unstable_feature(OBJECT_DIAGRAM) # see https://bugs.kde.org/show_bug.cgi?id=123633
configure_file(Doxyfile ${CMAKE_BINARY_DIR}/Doxyfile)
find_program(DOXYGEN_EXECUTABLE doxygen)
if(DOXYGEN_EXECUTABLE)
add_custom_target(apidoc
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
)
endif()
if(LIBXSLT_FOUND AND LIBXML2_FOUND)
add_subdirectory(umbrello)
add_subdirectory(doc)
......
......@@ -5,8 +5,8 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = umbrello
PROJECT_NUMBER = trunk
OUTPUT_DIRECTORY = /home/kde-devel/src/KDE/kdesdk/umbrello-doc/
PROJECT_NUMBER = @UMBRELLO_VERSION_STRING@
OUTPUT_DIRECTORY = @CMAKE_BINARY_DIR@/apidoc
CREATE_SUBDIRS = YES
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES
......@@ -25,7 +25,7 @@ ABBREVIATE_BRIEF = "The $name class" \
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = /home/kde-devel/src/KDE/kdesdk/
STRIP_FROM_PATH = @CMAKE_SOURCE_DIR@
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
......@@ -94,7 +94,7 @@ WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/kde-devel/src/KDE/kdesdk/umbrello/
INPUT = @CMAKE_SOURCE_DIR@
INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.c \
*.cc \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment