Warning, /utilities/keysmith/autotests/validators/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-License-Identifier: BSD-2-Clause
0003 # SPDX-FileCopyrightText: 2019-2020 Johan Ouwerkerk <jm.ouwerkerk@gmail.com>
0004 #
0005 
0006 set(validator_lib_test_SRCS
0007     base32-validator.cpp
0008     datetime-parsing.cpp
0009     epoch-validator.cpp
0010     name-validator.cpp
0011     issuer-validator.cpp
0012     unsigned-long-validator.cpp
0013     unsigned-long-parsing.cpp
0014 )
0015 
0016 #
0017 # Using macros to take care of boilerplate test setup confuses Automoc a bit
0018 # It still works without registering the macro, but this way the mistaken
0019 # warnings are suppressed.
0020 #
0021 # (The Automoc warning mistakenly hints at removing a necessary #include)
0022 #
0023 list(APPEND CMAKE_AUTOMOC_MACRO_NAMES "DEFINE_VALIDATOR_TEST")
0024 
0025 ecm_add_tests(
0026     ${validator_lib_test_SRCS}
0027     LINK_LIBRARIES
0028         Qt::Core Qt::Gui Qt::Test
0029         validator_lib
0030     NAME_PREFIX validators-
0031 )