From d0ef1778f07c0ebb28778ff6acf0f4637d76c624 Mon Sep 17 00:00:00 2001
From: Pascal Palenda <pascal.palenda@akustik.rwth-aachen.de>
Date: Tue, 14 Feb 2023 16:06:58 +0100
Subject: [PATCH] Add format definition for add_lib and add_test

---
 .cmake-format | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/.cmake-format b/.cmake-format
index 5312b23..8ec8177 100644
--- a/.cmake-format
+++ b/.cmake-format
@@ -158,6 +158,42 @@ with section("parse"):
     },
     'groupsourcesbyfolder': {
       'spelling': 'GroupSourcesByFolder'
+    },
+    'ihta_add_library' : {
+      'pargs' : {
+        'nargs' : '*',
+        'flags' : []
+      },
+      'spelling': 'ihta_add_library',
+      'kwargs': {
+        'TEST_INPLACE' : 0,
+        'TEST_INTERNALS' : 0,
+        'NAMESPACE' : 1,
+        'NAME' : 1,
+        'LIBRARY_TYPE' : 1,
+        'INCLUDE_DIR' : 1,
+        'SRC_DIR' : 1,
+        'INSTALL_INCLUDE_DIR' : 1,
+        'IDE_FOLDER' : 1,
+        'OBJECT_LIB_POSTFIX' : '?',
+        'OUT_VAR' : 1,
+        'SOURCES' : '+',
+        'TEST_SOURCES' : '*'
+      }
+    },
+    'ihta_add_test' : {
+      'pargs' : {
+        'nargs' : '*',
+        'flags' : []
+      },
+      'spelling': 'ihta_add_test',
+      'kwargs': {
+        'NAME' : 1,
+        'TEST_TARGET' : 1,
+        'IDE_FOLDER' : 1,
+        'SOURCES' : '+',
+        'COV_SOURCES' : '*'
+      }
     }
   }
 
-- 
GitLab