Warning, /pim/knotes/noteshared/src/attributes/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: none
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 include_directories(
0004   ${CMAKE_CURRENT_SOURCE_DIR}/..
0005   ${knotes_BINARY_DIR}/noteshared/src/
0006 )
0007 
0008 macro(add_noteshared_unittest _source)
0009   set(_test ${_source})
0010   get_filename_component(_name ${_source} NAME_WE)
0011   add_executable(${_name} ${_test} ${_name}.h)
0012   add_test(NAME ${_name} COMMAND ${_name})
0013   ecm_mark_as_test(noteshared-${_name})
0014   target_link_libraries(${_name}
0015     notesharedprivate
0016     Qt::Test
0017     Qt::Core
0018     Qt::Gui
0019     KPim6::AkonadiCore
0020 )
0021 endmacro()
0022 
0023 add_noteshared_unittest(notedisplayattributetest.cpp)
0024 add_noteshared_unittest(notealarmattributetest.cpp)
0025 add_noteshared_unittest(showfoldernotesattributetest.cpp)
0026 add_noteshared_unittest(notelockattributetest.cpp)