endif(NOT WIN32)
INSTALL( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/taglib-config DESTINATION ${BIN_INSTALL_DIR})
+
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.cmake ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile)
+ADD_CUSTOM_TARGET(docs doxygen)
+
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = TagLib
-PROJECT_NUMBER =
-OUTPUT_DIRECTORY = .
+PROJECT_NUMBER = ${TAGLIB_LIB_VERSION_STRING}
+OUTPUT_DIRECTORY = doc
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
-INPUT = ../taglib/
+INPUT = taglib
FILE_PATTERNS = *.h \
*.hh \
*.H
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
-HTML_HEADER = api-header.html
-HTML_FOOTER = api-footer.html
-HTML_STYLESHEET = taglib-api.css
+HTML_HEADER = doc/api-header.html
+HTML_FOOTER = doc/api-footer.html
+HTML_STYLESHEET = doc/taglib-api.css
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
-Run "doxygen taglib.doxgen" to generate the TagLib API documentation.
+Run "make docs" in the parent directory to generate the TagLib API documentation.
<td>
<div id="intro">
<table border="0" height="119" cellpadding="0" cellspacing="0" width="100%">
- <tr><td valign="top"><h1>TagLib 1.6.3 ($title)</h1></td></tr>
+ <tr><td valign="top"><h1>TagLib $projectnumber ($title)</h1></td></tr>
<tr>
<td valign="bottom">
<div id="links">
* Please see the <a href="http://developer.kde.org/~wheeler/taglib.html">TagLib website</a> for the latest
* downloads.
*
- * Instructions for installing TagLib vary per platform, but generally speaking on UNIX standard configure and
- * make commands are provided. TagLib installs a taglib-config and package-config file to make it easier to
- * integrate into various build systems. Note that TagLib's include install directory \e must be included in
- * the header include path. Simply adding <taglib/tag.h> will \e not work.
- *
- * On Windows, TagLib can be built using the CMake build systems.
+ * TagLib can be built using the CMake build system. TagLib installs a taglib-config and pkg-config file to
+ * make it easier to integrate into various build systems. Note that TagLib's include install directory \e must
+ * be included in the header include path. Simply adding <taglib/tag.h> will \e not work.
*
* \section start Getting Started
*