Warning, /pim/libksieve/src/ksievecore/sieveimapinstance/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2011-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
0005 
0006 macro( add_sieveimapinstance_test _source)
0007   set( _test ${_source})
0008   get_filename_component( _name ${_source} NAME_WE )
0009   add_executable( ${_name} ${_test} ${_name}.h)
0010   add_test(NAME ${_name} COMMAND ${_name})
0011   ecm_mark_as_test(sieveimapinstancetest-${_name})
0012   target_link_libraries( ${_name}  KPim6KSieveCore Qt::Test)
0013 endmacro()
0014 
0015 
0016 add_sieveimapinstance_test(sieveimapinstancetest.cpp)
0017 add_sieveimapinstance_test(sieveimapinstanceinterfacemanagertest.cpp)