Warning, /plasma/print-manager/src/libkcups/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(GenerateExportHeader)
0002 
0003 set(libkcups_SRCS
0004     KIppRequest.cpp
0005     KCupsPasswordDialog.cpp
0006     KCupsConnection.cpp
0007     KCupsJob.cpp
0008     KCupsPrinter.cpp
0009     KCupsServer.cpp
0010     KCupsRequest.cpp
0011     ClassListWidget.cpp
0012     PPDModel.cpp
0013     SelectMakeModel.cpp
0014     NoSelectionRectDelegate.cpp
0015     PrinterModel.cpp
0016     PrinterSortFilterModel.cpp
0017     JobModel.cpp
0018     JobSortFilterModel.cpp
0019     ProcessRunner.cpp
0020     DevicesModel.cpp
0021 
0022     KIppRequest.h
0023     KCupsPasswordDialog.h
0024     KCupsConnection.h
0025     KCupsJob.h
0026     KCupsPrinter.h
0027     KCupsServer.h
0028     KCupsRequest.h
0029     ClassListWidget.h
0030     PPDModel.h
0031     SelectMakeModel.h
0032     NoSelectionRectDelegate.h
0033     PrinterModel.h
0034     PrinterSortFilterModel.h
0035     JobModel.h
0036     JobSortFilterModel.h
0037     ProcessRunner.h
0038     DevicesModel.h
0039 )
0040 
0041 ki18n_wrap_ui(libkcups_SRCS
0042     SelectMakeModel.ui
0043 )
0044 
0045 add_library(kcupslib SHARED ${libkcups_SRCS})
0046 set_target_properties(kcupslib PROPERTIES
0047     SOVERSION ${PROJECT_VERSION}
0048     VERSION ${PROJECT_VERSION}
0049 )
0050 
0051 generate_export_header(kcupslib)
0052 
0053 target_link_libraries(kcupslib PUBLIC
0054     Qt::Core
0055     Qt::DBus
0056     Qt::Qml
0057     Qt::Widgets
0058     KF6::ConfigWidgets
0059     KF6::CoreAddons
0060     KF6::I18n
0061     KF6::IconThemes
0062     KF6::KIOCore
0063     KF6::KIOWidgets
0064     KF6::WidgetsAddons
0065     KF6::WindowSystem
0066     Cups::Cups
0067 )
0068 
0069 ecm_add_qml_module(kcupslib URI "org.kde.plasma.printmanager" GENERATE_PLUGIN_SOURCE)
0070 ecm_finalize_qml_module(kcupslib)
0071 
0072 ecm_qt_declare_logging_category(kcupslib
0073     HEADER kcupslib_log.h
0074     IDENTIFIER LIBKCUPS
0075     CATEGORY_NAME org.kde.plasma.printmanager.libkcups
0076     DESCRIPTION "Print Manager (libkcups)"
0077     EXPORT PMLOGS
0078 )
0079 
0080 install(TARGETS kcupslib ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)