diff doc/doxygen/Doxyfile.in @ 513:928a40398dec

CMake: split options and conditions, closes #716 As described in the issue, the CMake process force off a cache variable when a condition is not met. If the user installs the requirements and re-run CMake it must also set the variable to on which is inconvenient. The new process is to add a secondary variable and do not touch user defined options.
author David Demelier <markand@malikania.fr>
date Mon, 23 Oct 2017 21:30:17 +0200
parents 4f64b53ecd98
children
line wrap: on
line diff
--- a/doc/doxygen/Doxyfile.in	Fri Oct 20 11:43:36 2017 +0200
+++ b/doc/doxygen/Doxyfile.in	Mon Oct 23 21:30:17 2017 +0200
@@ -6,8 +6,6 @@
 # The following variables are set by CMake:
 #
 # VERSION               The project version
-# DOXYGEN_INPUT         The source directory
-# DOXYGEN_OUTPUT        The output directory
 # DOXYGEN_HAVE_DOT      True if have dot
 # DOXYGEN_DOT_PATH      The path to dot
 #
@@ -57,7 +55,7 @@
 # entered, it will be relative to the location where doxygen was started. If
 # left blank the current directory will be used.
 
-OUTPUT_DIRECTORY       = @DOXYGEN_OUTPUT@
+OUTPUT_DIRECTORY       = @CMAKE_CURRENT_BINARY_DIR@
 
 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
 # directories (in 2 levels) under the output directory of each output format and
@@ -131,7 +129,7 @@
 # shortest path that makes the file name unique will be used
 # The default value is: YES.
 
-FULL_PATH_NAMES        = NO
+FULL_PATH_NAMES        = YES
 
 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
 # Stripping is only done if one of the specified strings matches the left-hand
@@ -143,7 +141,7 @@
 # will be relative from the directory where doxygen is started.
 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
 
-STRIP_FROM_PATH        = @DOXYGEN_INPUT@/lib
+STRIP_FROM_PATH        = libcommon libirccd libserver
 
 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
 # path mentioned in the documentation of a class, which tells the reader which
@@ -742,7 +740,7 @@
 # spaces.
 # Note: If this tag is empty the current directory is searched.
 
-INPUT                  = @DOXYGEN_INPUT@
+INPUT                  = libcommon libirccd libirccdctl
 
 # This tag can be used to specify the character encoding of the source files
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses