Warning, /utilities/kate/addons/format/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(ECMMarkAsTest)
0002 
0003 add_executable(test_formatapply "")
0004 target_include_directories(test_formatapply PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
0005 
0006 find_package(Qt6Test ${QT_MIN_VERSION} QUIET REQUIRED)
0007 target_link_libraries(
0008   test_formatapply
0009   PRIVATE
0010     kateprivate
0011     KF6::TextEditor
0012     Qt::Test
0013 )
0014 
0015 target_sources(
0016   test_formatapply
0017   PRIVATE
0018     test_formatapply.cpp
0019 )
0020 
0021 add_test(NAME kateapp-test_formatapply COMMAND test_formatapply ${OFFSCREEN_QPA})
0022 ecm_mark_as_test(test_formatapply)