Warning, /kdevelop/kdevelop/plugins/qthelp/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kdevqthelp\")
0002 
0003 declare_qt_logging_category(kdevqthelp_LOG_SRCS
0004     TYPE PLUGIN
0005     IDENTIFIER QTHELP
0006     CATEGORY_BASENAME "qthelp"
0007 )
0008 set(kdevqthelp_SRCS
0009     qthelpplugin.cpp
0010     qthelpproviderabstract.cpp
0011     qthelpprovider.cpp
0012     qthelpdocumentation.cpp
0013     qthelpqtdoc.cpp
0014     qthelp_config_shared.cpp
0015     qthelpconfig.cpp # Configuration module for QtHelp plugin
0016     qthelpnetwork.cpp
0017     ${kdevqthelp_LOG_SRCS}
0018 )
0019 
0020 ki18n_wrap_ui(kdevqthelp_SRCS
0021     qthelpconfig.ui
0022     qthelpconfigeditdialog.ui
0023 )
0024 
0025 install(FILES kdevelop-qthelp.knsrc  DESTINATION ${KDE_INSTALL_KNSRCDIR})
0026 
0027 kdevplatform_add_plugin(kdevqthelp SOURCES ${kdevqthelp_SRCS})
0028 target_link_libraries(kdevqthelp
0029     KDev::Language
0030     KDev::Documentation
0031     KDev::Interfaces
0032     KF5::KCMUtils
0033     KF5::I18n
0034     KF5::KIOWidgets
0035     KF5::TextEditor
0036     KF5::IconThemes
0037     KF5::NewStuffWidgets
0038     Qt5::Help
0039 )
0040 
0041 if(BUILD_TESTING)
0042     add_subdirectory(tests)
0043 endif()