Warning, /utilities/kate/addons/filetree/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 find_package(KF6GuiAddons ${KF5_DEP_VERSION} QUIET) 0002 set_package_properties(KF6GuiAddons PROPERTIES PURPOSE "Required to build the katefiletree addon") 0003 0004 if(NOT KF6GuiAddons_FOUND) 0005 return() 0006 endif() 0007 0008 kate_add_plugin(katefiletreeplugin) 0009 0010 target_compile_definitions(katefiletreeplugin PRIVATE TRANSLATION_DOMAIN="katefiletree") 0011 0012 target_link_libraries( 0013 katefiletreeplugin 0014 PUBLIC 0015 kateprivate 0016 KF6::I18n 0017 KF6::TextEditor 0018 KF6::GuiAddons 0019 ) 0020 0021 target_sources( 0022 katefiletreeplugin 0023 PRIVATE 0024 katefiletree.cpp 0025 katefiletreeconfigpage.cpp 0026 katefiletreemodel.cpp 0027 katefiletreeplugin.cpp 0028 katefiletreepluginsettings.cpp 0029 katefiletreeproxymodel.cpp 0030 plugin.qrc 0031 ) 0032 0033 if (BUILD_PCH) 0034 target_precompile_headers(katefiletreeplugin REUSE_FROM katepch) 0035 endif() 0036 0037 if(BUILD_TESTING) 0038 add_subdirectory(autotests) 0039 endif()