aboutsummaryrefslogtreecommitdiff
path: root/backend/unittests/Support/CMakeLists.txt
blob: 0c0aabc35abc5abf3600e53ccef21d6c457ee9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
)