summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BUILD.txt1
-rw-r--r--CMakeLists.txt1
-rw-r--r--doc/CMakeLists.txt3
-rw-r--r--doc/autolink.doc4
-rw-r--r--doc/commands.doc30
-rw-r--r--doc/diagrams.doc2
-rw-r--r--doc/docblocks.doc16
-rw-r--r--examples/CMakeLists.txt127
-rw-r--r--examples/afterdoc.cfg2
-rw-r--r--examples/author.cfg2
-rw-r--r--examples/autolink.cfg2
-rw-r--r--examples/class.cfg2
-rw-r--r--examples/dbusxml.cfg2
-rw-r--r--examples/define.cfg2
-rw-r--r--examples/diagrams.cfg2
-rw-r--r--examples/docstring.cfg2
-rw-r--r--examples/enum.cfg2
-rw-r--r--examples/example.cfg2
-rw-r--r--examples/file.cfg2
-rw-r--r--examples/func.cfg2
-rw-r--r--examples/group.cfg2
-rw-r--r--examples/include.cfg2
-rw-r--r--examples/jdstyle.cfg2
-rw-r--r--examples/manual.cfg2
-rw-r--r--examples/memgrp.cfg2
-rw-r--r--examples/mux.cfg2
-rw-r--r--examples/overload.cfg2
-rw-r--r--examples/page.cfg2
-rw-r--r--examples/par.cfg2
-rw-r--r--examples/pyexample.cfg2
-rw-r--r--examples/qtstyle.cfg2
-rw-r--r--examples/relates.cfg2
-rw-r--r--examples/restypedef.cfg2
-rw-r--r--examples/structcmd.cfg2
-rw-r--r--examples/tag.cfg2
-rw-r--r--examples/tclexample.cfg2
-rw-r--r--examples/templ.cfg2
37 files changed, 115 insertions, 127 deletions
diff --git a/BUILD.txt b/BUILD.txt
index e3dd684..ad3424b 100644
--- a/BUILD.txt
+++ b/BUILD.txt
@@ -30,7 +30,6 @@ Doxygen's cmake configuration provides a number of options:
- build_xmlparser Example showing how to parse doxygen's XML output.
- build_search Build external search tools (doxysearch and doxyindexer).
- build_doc Build user manual.
-- build_examples Build the example projects.
- use_sqlite3 Add support for sqlite3 output [experimental].
- use_libclang Add support for libclang parsing.
- win_static Link with /MT in stead of /MD on windows.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8a749f..26b35c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,6 @@ option(build_app "Example showing how to embed doxygen in an application."
option(build_xmlparser "Example showing how to parse doxygen's XML output." OFF)
option(build_search "Build external search tools (doxysearch and doxyindexer)" OFF)
option(build_doc "Build user manual" OFF)
-option(build_examples "Build the example projects" OFF)
option(use_sqlite3 "Add support for sqlite3 output [experimental]." OFF)
option(use_libclang "Add support for libclang parsing." OFF)
option(win_static "Link with /MT in stead of /MD on windows" OFF)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 9fb41c2..877c9b8 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -27,7 +27,7 @@ add_custom_target(docs
COMMAND ${SED} -e "s/\$VERSION/${VERSION}/g" doxygen.sty > ../latex/doxygen.sty
COMMAND ${EPSTOPDF} doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
COMMAND ${MAKE} -C ../latex > latex_out.txt
- DEPENDS doxygen ${PROJECT_BINARY_DIR}/doc/language.doc config.doc
+ DEPENDS doxygen ${PROJECT_BINARY_DIR}/doc/language.doc config.doc examples
"${PROJECT_BINARY_DIR}/man/doxygen.1"
"${PROJECT_BINARY_DIR}/man/doxywizard.1"
"${PROJECT_BINARY_DIR}/man/doxysearch.1"
@@ -91,7 +91,6 @@ install(FILES
)
install(DIRECTORY
- "${PROJECT_BINARY_DIR}/examples"
"${PROJECT_BINARY_DIR}/html"
DESTINATION "${CMAKE_INSTALL_PREFIX}/${DOC_INSTALL_DIR}"
)
diff --git a/doc/autolink.doc b/doc/autolink.doc
index 506b1f6..9e0d35a 100644
--- a/doc/autolink.doc
+++ b/doc/autolink.doc
@@ -112,7 +112,7 @@
\par Example:
\verbinclude autolink.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/autolink/html/index.html">here</a>
+ Click <a href="examples/autolink/html/index.html">here</a>
for the corresponding HTML documentation that is generated by Doxygen.
\endhtmlonly
@@ -128,7 +128,7 @@ typedef struct StructName TypeName
\par Example:
\verbinclude restypedef.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/restypedef/html/restypedef_8cpp.html">here</a>
+ Click <a href="examples/restypedef/html/restypedef_8cpp.html">here</a>
for the corresponding HTML documentation that is generated by Doxygen.
\endhtmlonly
diff --git a/doc/commands.doc b/doc/commands.doc
index c8f77eb..f2150d1 100644
--- a/doc/commands.doc
+++ b/doc/commands.doc
@@ -360,7 +360,7 @@ Structural indicators
\par Example:
\verbinclude class.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/class/html/index.html">here</a>
+ Click <a href="examples/class/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -374,7 +374,7 @@ Structural indicators
\par Example:
\verbinclude define.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/define/html/define_8h.html">here</a>
+ Click <a href="examples/define/html/define_8h.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -422,7 +422,7 @@ Structural indicators
\par Example:
\verbinclude enum.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/enum/html/class_test.html">here</a>
+ Click <a href="examples/enum/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -453,7 +453,7 @@ Structural indicators
Where the example file \c example_test.cpp looks as follows:
\verbinclude example_test.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/example/html/examples.html">here</a>
+ Click <a href="examples/example/html/examples.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -479,7 +479,7 @@ Structural indicators
The file \c manual.c in the example directory shows how to use this command.
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/manual/html/index.html">here</a>
+ Click <a href="examples/manual/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -503,7 +503,7 @@ Structural indicators
\par Example:
\verbinclude file.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/file/html/file_8h.html">here</a>
+ Click <a href="examples/file/html/file_8h.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -537,7 +537,7 @@ Structural indicators
\par Example:
\verbinclude func.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/func/html/class_test.html">here</a>
+ Click <a href="examples/func/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -619,7 +619,7 @@ Structural indicators
The file \c manual.c in the example directory shows how to use this command.
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/manual/html/index.html">here</a>
+ Click <a href="examples/manual/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -719,7 +719,7 @@ Structural indicators
The file \c manual.c in the example directory shows how to use this command.
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/manual/html/index.html">here</a>
+ Click <a href="examples/manual/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -787,7 +787,7 @@ Structural indicators
\par Example:
\verbinclude examples/overload.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/overload/html/class_test.html">here</a>
+ Click <a href="examples/overload/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -811,7 +811,7 @@ Structural indicators
\par Example:
\verbinclude page.doc
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/page/html/pages.html">here</a>
+ Click <a href="examples/page/html/pages.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -967,7 +967,7 @@ Structural indicators
\par Example:
\verbinclude relates.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/relates/html/class_string.html">here</a>
+ Click <a href="examples/relates/html/class_string.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -1118,7 +1118,7 @@ Section indicators
\par Example:
\verbinclude author.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/author/html/class_some_nice_class.html">here</a>
+ Click <a href="examples/author/html/class_some_nice_class.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -1461,7 +1461,7 @@ ALIASES = "english=\if english" \
\par Example:
\verbinclude par.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/par/html/class_test.html">here</a>
+ Click <a href="examples/par/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -2067,7 +2067,7 @@ Commands for displaying examples
Where the example file \c example_test.cpp looks as follows:
\verbinclude example_test.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/include/html/example.html">here</a>
+ Click <a href="examples/include/html/example.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
diff --git a/doc/diagrams.doc b/doc/diagrams.doc
index ddc3d2a..c87337b 100644
--- a/doc/diagrams.doc
+++ b/doc/diagrams.doc
@@ -138,7 +138,7 @@ that doxygen can generate:
\verbinclude diagrams_e.h
\htmlonly
-Click <a href="$(DOXYGEN_DOCDIR)/examples/diagrams/html/index.html">here</a>
+Click <a href="examples/diagrams/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen<br/>
(<code>EXTRACT_ALL</code> = <code>YES</code> is used here).
\endhtmlonly
diff --git a/doc/docblocks.doc b/doc/docblocks.doc
index 3673e73..f073de5 100644
--- a/doc/docblocks.doc
+++ b/doc/docblocks.doc
@@ -259,7 +259,7 @@ located in front of the block instead of after the block.
Here is an example of the use of these comment blocks:
\include afterdoc.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/afterdoc/html/class_test.html">here</a>
+ Click <a href="examples/afterdoc/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -275,7 +275,7 @@ Here is an example of the use of these comment blocks:
Here is an example of a documented piece of C++ code using the Qt style:
\include qtstyle.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/qtstyle/html/class_test.html">here</a>
+ Click <a href="examples/qtstyle/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -305,7 +305,7 @@ Here is the same piece of code as shown above, this time documented using the
JavaDoc style and \ref cfg_javadoc_autobrief "JAVADOC_AUTOBRIEF" set to YES:
\include jdstyle.cpp
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/jdstyle/html/class_test.html">here</a>
+ Click <a href="examples/jdstyle/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -381,7 +381,7 @@ Here is an example of a C header named \c structcmd.h that is documented
using structural commands:
\include structcmd.h
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/structcmd/html/structcmd_8h.html">here</a>
+ Click <a href="examples/structcmd/html/structcmd_8h.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -421,7 +421,7 @@ and assume they have to be represented in a preformatted way.
\include docstring.py
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/docstring/html/index.html">here</a>
+ Click <a href="examples/docstring/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -437,7 +437,7 @@ Here is the same example again but now using doxygen style comments:
\include pyexample.py
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/pyexample/html/index.html">here</a>
+ Click <a href="examples/pyexample/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -462,7 +462,7 @@ Here is an example VHDL file with doxygen comments:
\include mux.vhdl
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/mux/html/index.html">here</a>
+ Click <a href="examples/mux/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
@@ -571,7 +571,7 @@ Following is an example using doxygen style comments:
\include tclexample.tcl
\htmlonly
- Click <a href="$(DOXYGEN_DOCDIR)/examples/tclexample/html/index.html">here</a>
+ Click <a href="examples/tclexample/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
\endhtmlonly
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 66d4ecd..a829c13 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,217 +1,208 @@
-if (build_examples)
+if (build_doc)
+file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/html/examples)
file(COPY ${EXAMPLE_DIR} DESTINATION ${PROJECT_BINARY_DIR})
-# class
-#add_custom_target(examples
-# COMMENT "Generating documentation for examples"
-# COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen class.cfg
-# DEPENDS doxygen class.h class.cfg
-# OUTPUT class/html/index.html
-# WORKING_DIRECTORY examples
-# VERBATIM
-#)
-
add_custom_target(examples
DEPENDS doxygen
- class/html/index.html
- define/html/index.html
- enum/html/index.html
- file/html/index.html
- func/html/index.html
- page/html/index.html
- relates/html/index.html
- author/html/index.html
- par/html/index.html
- overload/html/index.html
- example/html/index.html
- include/html/index.html
- qtstyle/html/index.html
- jdstyle/html/index.html
- structcmd/html/index.html
- autolink/html/index.html
- restypedef/html/index.html
- afterdoc/html/index.html
- template/html/index.html
- tag/html/index.html
- group/html/index.html
- diagrams/html/index.html
- memgrp/html/index.html
- docstring/html/index.html
- pyexample/html/index.html
- tclexample/html/index.html
- mux/html/index.html
- manual/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/class/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/define/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/enum/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/file/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/func/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/page/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/relates/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/author/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/par/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/overload/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/example/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/include/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/qtstyle/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/jdstyle/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/structcmd/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/autolink/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/restypedef/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/afterdoc/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/template/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/tag/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/group/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/memgrp/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/docstring/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/pyexample/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/tclexample/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/mux/html/index.html
+ ${PROJECT_BINARY_DIR}/html/examples/manual/html/index.html
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/examples
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen class.cfg
DEPENDS doxygen class.h class.cfg
- OUTPUT class/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/class/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen define.cfg
DEPENDS doxygen define.h define.cfg
- OUTPUT define/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/define/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen enum.cfg
DEPENDS doxygen enum.h enum.cfg
- OUTPUT enum/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/enum/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen file.cfg
DEPENDS doxygen file.h file.cfg
- OUTPUT file/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/file/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen func.cfg
DEPENDS doxygen func.h func.cfg
- OUTPUT func/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/func/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen page.cfg
DEPENDS doxygen page.doc page.cfg
- OUTPUT page/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/page/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen relates.cfg
DEPENDS doxygen relates.cpp relates.cfg
- OUTPUT relates/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/relates/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen author.cfg
DEPENDS doxygen author.cpp author.cfg
- OUTPUT author/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/author/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen par.cfg
DEPENDS doxygen par.cpp par.cfg
- OUTPUT par/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/par/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen overload.cfg
DEPENDS doxygen overload.cpp overload.cfg
- OUTPUT overload/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/overload/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen example.cfg
DEPENDS doxygen example.cpp example_test.cpp example.cfg
- OUTPUT example/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/example/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen include.cfg
DEPENDS doxygen include.cpp example_test.cpp include.cfg
- OUTPUT include/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/include/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen qtstyle.cfg
DEPENDS doxygen qtstyle.cpp qtstyle.cfg
- OUTPUT qtstyle/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/qtstyle/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen jdstyle.cfg
DEPENDS doxygen jdstyle.cpp jdstyle.cfg
- OUTPUT jdstyle/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/jdstyle/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen structcmd.cfg
DEPENDS doxygen structcmd.h structcmd.cfg
- OUTPUT structcmd/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/structcmd/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen autolink.cfg
DEPENDS doxygen autolink.cpp autolink.cfg
- OUTPUT autolink/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/autolink/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen tag.cfg
- DEPENDS doxygen tag.cpp tag.cfg example/html/index.html
- OUTPUT tag/html/index.html
+ DEPENDS doxygen tag.cpp tag.cfg ${PROJECT_BINARY_DIR}/html/examples/example/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/tag/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen restypedef.cfg
DEPENDS doxygen restypedef.cpp restypedef.cfg
- OUTPUT restypedef/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/restypedef/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen afterdoc.cfg
DEPENDS doxygen afterdoc.h afterdoc.cfg
- OUTPUT afterdoc/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/afterdoc/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen templ.cfg
DEPENDS doxygen templ.cpp templ.cfg
- OUTPUT template/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/template/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen group.cfg
DEPENDS doxygen group.cpp group.cfg
- OUTPUT group/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/group/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen memgrp.cfg
DEPENDS doxygen memgrp.cpp memgrp.cfg
- OUTPUT memgrp/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/memgrp/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen pyexample.cfg
DEPENDS doxygen pyexample.py pyexample.cfg
- OUTPUT pyexample/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/pyexample/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen tclexample.cfg
DEPENDS doxygen tclexample.tcl tclexample.cfg
- OUTPUT tclexample/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/tclexample/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen mux.cfg
DEPENDS doxygen mux.vhdl mux.cfg
- OUTPUT mux/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/mux/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen manual.cfg
DEPENDS doxygen manual.c manual.cfg
- OUTPUT manual/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/manual/html/index.html
)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen docstring.cfg
DEPENDS doxygen docstring.py docstring.cfg
- OUTPUT docstring/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/docstring/html/index.html
)
if (DOT)
add_custom_command(
COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen diagrams.cfg
DEPENDS doxygen diagrams_a.h diagrams_b.h diagrams_c.h diagrams_d.h diagrams_e.h diagrams.cfg
- OUTPUT diagrams/html/index.html
+ OUTPUT ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html
)
endif(DOT)
diff --git a/examples/afterdoc.cfg b/examples/afterdoc.cfg
index fcdbcae..37bb12d 100644
--- a/examples/afterdoc.cfg
+++ b/examples/afterdoc.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "AfterDocs"
-OUTPUT_DIRECTORY = afterdoc
+OUTPUT_DIRECTORY = ../html/examples/afterdoc
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/author.cfg b/examples/author.cfg
index 8bb04f7..c7b942c 100644
--- a/examples/author.cfg
+++ b/examples/author.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Author Command"
-OUTPUT_DIRECTORY = author
+OUTPUT_DIRECTORY = ../html/examples/author
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/autolink.cfg b/examples/autolink.cfg
index 406d52c..287b37d 100644
--- a/examples/autolink.cfg
+++ b/examples/autolink.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Automatic link generation"
-OUTPUT_DIRECTORY = autolink
+OUTPUT_DIRECTORY = ../html/examples/autolink
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/class.cfg b/examples/class.cfg
index f2c4796..579cc75 100644
--- a/examples/class.cfg
+++ b/examples/class.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Class Command"
-OUTPUT_DIRECTORY = class
+OUTPUT_DIRECTORY = ../html/examples/class
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/dbusxml.cfg b/examples/dbusxml.cfg
index 23b9dea..7b70772 100644
--- a/examples/dbusxml.cfg
+++ b/examples/dbusxml.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "DBusXMLDocs"
-OUTPUT_DIRECTORY = dbusxml
+OUTPUT_DIRECTORY = ../html/examples/dbusxml
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/define.cfg b/examples/define.cfg
index 547591e..8a12da8 100644
--- a/examples/define.cfg
+++ b/examples/define.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Define Command"
-OUTPUT_DIRECTORY = define
+OUTPUT_DIRECTORY = ../html/examples/define
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/diagrams.cfg b/examples/diagrams.cfg
index 9bc5551..5301786 100644
--- a/examples/diagrams.cfg
+++ b/examples/diagrams.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Diagrams"
-OUTPUT_DIRECTORY = diagrams
+OUTPUT_DIRECTORY = ../html/examples/diagrams
HAVE_DOT = YES
EXTRACT_ALL = YES
GENERATE_LATEX = NO
diff --git a/examples/docstring.cfg b/examples/docstring.cfg
index 2a5cd9a..bd65500 100644
--- a/examples/docstring.cfg
+++ b/examples/docstring.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Python"
-OUTPUT_DIRECTORY = docstring
+OUTPUT_DIRECTORY = ../html/examples/docstring
EXTRACT_ALL = YES
GENERATE_LATEX = NO
GENERATE_MAN = NO
diff --git a/examples/enum.cfg b/examples/enum.cfg
index ed83670..7732be8 100644
--- a/examples/enum.cfg
+++ b/examples/enum.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Enum Command"
-OUTPUT_DIRECTORY = enum
+OUTPUT_DIRECTORY = ../html/examples/enum
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/example.cfg b/examples/example.cfg
index a25df24..f57e4ba 100644
--- a/examples/example.cfg
+++ b/examples/example.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Example Command"
-OUTPUT_DIRECTORY = example
+OUTPUT_DIRECTORY = ../html/examples/example
#GENERATE_TAGFILE = example.tag
GENERATE_LATEX = NO
GENERATE_MAN = NO
diff --git a/examples/file.cfg b/examples/file.cfg
index e54b1c7..e622c1e 100644
--- a/examples/file.cfg
+++ b/examples/file.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "File Command"
-OUTPUT_DIRECTORY = file
+OUTPUT_DIRECTORY = ../html/examples/file
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/func.cfg b/examples/func.cfg
index 32c3190..4929f66 100644
--- a/examples/func.cfg
+++ b/examples/func.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Fn Command"
-OUTPUT_DIRECTORY = func
+OUTPUT_DIRECTORY = ../html/examples/func
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/group.cfg b/examples/group.cfg
index 98cc27e..7882713 100644
--- a/examples/group.cfg
+++ b/examples/group.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Grouping"
-OUTPUT_DIRECTORY = group
+OUTPUT_DIRECTORY = ../html/examples/group
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/include.cfg b/examples/include.cfg
index 8516b32..4ecdf8f 100644
--- a/examples/include.cfg
+++ b/examples/include.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Include Command"
-OUTPUT_DIRECTORY = include
+OUTPUT_DIRECTORY = ../html/examples/include
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/jdstyle.cfg b/examples/jdstyle.cfg
index 02bf18c..15eccee 100644
--- a/examples/jdstyle.cfg
+++ b/examples/jdstyle.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "JavaDoc Style"
-OUTPUT_DIRECTORY = jdstyle
+OUTPUT_DIRECTORY = ../html/examples/jdstyle
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/manual.cfg b/examples/manual.cfg
index 9359842..75d1fc5 100644
--- a/examples/manual.cfg
+++ b/examples/manual.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Manual inheritance and membership"
-OUTPUT_DIRECTORY = manual
+OUTPUT_DIRECTORY = ../html/examples/manual
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/memgrp.cfg b/examples/memgrp.cfg
index a69c33c..dea742c 100644
--- a/examples/memgrp.cfg
+++ b/examples/memgrp.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Member Grouping"
-OUTPUT_DIRECTORY = memgrp
+OUTPUT_DIRECTORY = ../html/examples/memgrp
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/mux.cfg b/examples/mux.cfg
index ccb0f05..11aa7ca 100644
--- a/examples/mux.cfg
+++ b/examples/mux.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = Mux
-OUTPUT_DIRECTORY = mux
+OUTPUT_DIRECTORY = ../html/examples/mux
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/overload.cfg b/examples/overload.cfg
index d29cb9c..9677065 100644
--- a/examples/overload.cfg
+++ b/examples/overload.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Overloaded Command"
-OUTPUT_DIRECTORY = overload
+OUTPUT_DIRECTORY = ../html/examples/overload
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/page.cfg b/examples/page.cfg
index cd1ff84..980cb17 100644
--- a/examples/page.cfg
+++ b/examples/page.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Page Command"
-OUTPUT_DIRECTORY = page
+OUTPUT_DIRECTORY = ../html/examples/page
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/par.cfg b/examples/par.cfg
index de6caa9..5be0e03 100644
--- a/examples/par.cfg
+++ b/examples/par.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Par Command"
-OUTPUT_DIRECTORY = par
+OUTPUT_DIRECTORY = ../html/examples/par
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/pyexample.cfg b/examples/pyexample.cfg
index 27db0f7..9b44984 100644
--- a/examples/pyexample.cfg
+++ b/examples/pyexample.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Python"
-OUTPUT_DIRECTORY = pyexample
+OUTPUT_DIRECTORY = ../html/examples/pyexample
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/qtstyle.cfg b/examples/qtstyle.cfg
index 0a930be..beae9e4 100644
--- a/examples/qtstyle.cfg
+++ b/examples/qtstyle.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Qt Style"
-OUTPUT_DIRECTORY = qtstyle
+OUTPUT_DIRECTORY = ../html/examples/qtstyle
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/relates.cfg b/examples/relates.cfg
index 4e1d90b..9155a7e 100644
--- a/examples/relates.cfg
+++ b/examples/relates.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Relates Command"
-OUTPUT_DIRECTORY = relates
+OUTPUT_DIRECTORY = ../html/examples/relates
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/restypedef.cfg b/examples/restypedef.cfg
index c55926e..6282a64 100644
--- a/examples/restypedef.cfg
+++ b/examples/restypedef.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Resolving Typedefs"
-OUTPUT_DIRECTORY = restypedef
+OUTPUT_DIRECTORY = ../html/examples/restypedef
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/structcmd.cfg b/examples/structcmd.cfg
index f956ad4..d60cfcf 100644
--- a/examples/structcmd.cfg
+++ b/examples/structcmd.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Structural commands"
-OUTPUT_DIRECTORY = structcmd
+OUTPUT_DIRECTORY = ../html/examples/structcmd
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/tag.cfg b/examples/tag.cfg
index 3627281..97d7d2f 100644
--- a/examples/tag.cfg
+++ b/examples/tag.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Tag Files"
-OUTPUT_DIRECTORY = tag
+OUTPUT_DIRECTORY = ../html/examples/tag
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/tclexample.cfg b/examples/tclexample.cfg
index bde5cc4..e51f4fc 100644
--- a/examples/tclexample.cfg
+++ b/examples/tclexample.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Tcl"
-OUTPUT_DIRECTORY = tclexample
+OUTPUT_DIRECTORY = ../html/examples/tclexample
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO
diff --git a/examples/templ.cfg b/examples/templ.cfg
index c8d9514..eb59559 100644
--- a/examples/templ.cfg
+++ b/examples/templ.cfg
@@ -1,5 +1,5 @@
PROJECT_NAME = "Template Test"
-OUTPUT_DIRECTORY = template
+OUTPUT_DIRECTORY = ../html/examples/template
GENERATE_LATEX = NO
GENERATE_MAN = NO
GENERATE_RTF = NO