Warning, /utilities/kairo/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2016 (c) Kevin Ottens <ervin@kde.org>
0002
0003 # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004
0005 set(CMAKE_CXX_STANDARD 14)
0006
0007 include_directories(${CMAKE_SOURCE_DIR}/src)
0008 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
0009
0010 macro(kairo_auto_tests)
0011 foreach(_testname ${ARGN})
0012 add_executable(${_testname} ${_testname}.cpp)
0013 add_test(${_testname} ${_testname})
0014 target_link_libraries(${_testname}
0015 Qt5::Test
0016 kairolib
0017 )
0018 endforeach(_testname)
0019 endmacro(kairo_auto_tests)
0020
0021 kairo_auto_tests(
0022 circuitcontroltest
0023 circuitlistmodeltest
0024 circuitmodeltest
0025 circuitreadertest
0026 timercontroltest
0027 timermodeltest
0028 timernotificationcontroltest
0029 )