From 1772a2af59d5b5099465fc4887943ad3c55eaaa7 Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Mon, 4 Mar 2019 14:32:35 +0100
Subject: [PATCH] project-template: exclude tests from Doxygen documentation

---
 cmake/Doxyfile.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmake/Doxyfile.in b/cmake/Doxyfile.in
index e2c2328..f67a4c3 100644
--- a/cmake/Doxyfile.in
+++ b/cmake/Doxyfile.in
@@ -852,7 +852,7 @@ RECURSIVE              = YES
 # Note that relative paths are relative to the directory from which doxygen is
 # run.
 
-EXCLUDE                =
+EXCLUDE                = 
 
 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
 # directories that are symbolic links (a Unix file system feature) are excluded
@@ -868,7 +868,8 @@ EXCLUDE_SYMLINKS       = NO
 # Note that the wildcards are matched against the file with absolute path, so to
 # exclude all test directories for example use the pattern */test/*
 
-EXCLUDE_PATTERNS       =
+EXCLUDE_PATTERNS       = */test/*  \
+                         */tests/*
 
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
 # (namespaces, classes, functions, etc.) that should be excluded from the
-- 
GitLab