aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/Support/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'backend/unittests/Support/CMakeLists.txt')
-rw-r--r--backend/unittests/Support/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/backend/unittests/Support/CMakeLists.txt b/backend/unittests/Support/CMakeLists.txt
new file mode 100644
index 0000000..0c0aabc
--- /dev/null
+++ b/backend/unittests/Support/CMakeLists.txt
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+set(RCCBackendSupportTestSources ErrorTest.cpp)
+
+add_executable(RCCBackendSupportTests ${RCCBackendSupportTestSources})
+rcc_backend_configure_target(RCCBackendSupportTests)
+target_link_libraries(RCCBackendSupportTests PRIVATE RCCBackend::Support)
+
+add_test(NAME RCCBackend.Support.Error COMMAND RCCBackendSupportTests)
+
+rcc_backend_register_format_files(
+ "${CMAKE_CURRENT_SOURCE_DIR}/ErrorTest.cpp"
+)
+rcc_backend_register_tidy_files(
+ "${CMAKE_CURRENT_SOURCE_DIR}/ErrorTest.cpp"
+)