From 3be70e4f881b90b9441abc2115c3280e954a1eed Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 20 Jul 2021 14:48:16 +0200
Subject: [PATCH] Updated cpp-dependencies config.

Requires current master of
https://github.com/tomtom-international/cpp-dependencies.

Installed on envinf2 at /opt/cppcheck/bin/cpp-dependencies
---
 config-cpp-dependencies.txt | 54 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 53 insertions(+), 1 deletion(-)

diff --git a/config-cpp-dependencies.txt b/config-cpp-dependencies.txt
index f9a91ef8bc7..0680f5f3794 100644
--- a/config-cpp-dependencies.txt
+++ b/config-cpp-dependencies.txt
@@ -9,6 +9,21 @@ versionUsed: 2
 # Company name to use in generated CMakeLists' copyright statement.
 companyName: OpenGeoSys Community (www.opengeosys.org)
 
+# License text to include directly after the copyright statement.
+licenseString: """
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+"""
+
 # Tag used in generated CMakeLists. Don't change unless you also update your CMakeLists.
 regenTag: GENERATED BY CPP-DEPENDENCIES
 
@@ -40,6 +55,43 @@ componentLocUpperLimit: 20000
 # logical units, which are then easy to mix up and conflate.
 fileLocUpperLimit: 2000
 
+# Whether custom sections, like "set_target_property(...)", from an existing CMakeLists.txt
+# file should be reused.
+reuseCustomSections: false
+
+# Aliases for CMake command add_library. Each alias is assumed to take similar arguments as the
+# vanilla CMake command.
+# Each alias must be on its own line. The last line should only contain the closing bracket.
+addLibraryAlias: [
+  ogs_add_library
+]
+
+# Aliases for CMake command add_executable. Each alias is assumed to take similar arguments as the
+# vanilla CMake command.
+# Each alias must be on its own line. The last line should only contain the closing bracket.
+addExecutableAlias: [
+  ogs_add_executable
+]
+
+#addIgnores: [
+# Example/ThirdParty
+# Example/test.txt
+# ]
+
 # List of folder paths (from the root) that should be completely ignored. May contain multiple
 # space-separated values, including values with spaces escaped with quotation marks.
-blacklist: build Build "Visual Studio Projects" unistd.h console.h stdint.h windows.h library.h endian.h rle.h Applications/Utils SimpleTests ThirdParty
+blacklist: [
+  build
+  Build
+  Visual Studio Projects
+  unistd.h
+  console.h
+  stdint.h
+  windows.h
+  library.h
+  endian.h
+  rle.h
+  Applications/Utils
+  Tests
+]
+
-- 
GitLab