aboutsummaryrefslogtreecommitdiffstats
path: root/Doxyfile.java.in
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-01 23:46:28 +0200
committerSven Gothel <[email protected]>2022-05-01 23:46:28 +0200
commitbba107f400147d67f81c8267be4858cc113c5b93 (patch)
treefe4001d0a676bb46ed60101f8a8623ff832d866f /Doxyfile.java.in
parent858224048174764c65bbd324059489b39e9cf75a (diff)
Doxygen: Strip project directory from path while maintaing FULL_PATH_NAMES for directory structure on file list
Since @CMAKE_CURRENT_SOURCE_DIR@ is used for all input locations, simply use it to strip it from the full path. This converts `FULL_PATH_NAMES = NO` to relative path names. FULL_PATH_NAMES = NO would be no solution, since it would remove the File List structure and it is generally a good idea to see the relative path of files.
Diffstat (limited to 'Doxyfile.java.in')
-rw-r--r--Doxyfile.java.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doxyfile.java.in b/Doxyfile.java.in
index 9ddbd03..9879806 100644
--- a/Doxyfile.java.in
+++ b/Doxyfile.java.in
@@ -152,7 +152,7 @@ FULL_PATH_NAMES = YES
# 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 =
+STRIP_FROM_PATH = @CMAKE_CURRENT_SOURCE_DIR@
# 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