Warning, /utilities/print-manager/add-printer/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(addprinter_SRCS
0002     main.cpp
0003     AddPrinter.cpp
0004     DevicesModel.cpp
0005     GenericPage.cpp
0006     PageDestinations.cpp
0007     ChooseLpd.cpp
0008     ChooseSamba.cpp
0009     ChooseSerial.cpp
0010     ChooseSocket.cpp
0011     ChooseUri.cpp
0012     PageChoosePrinters.cpp
0013     PageChoosePPD.cpp
0014     PageAddPrinter.cpp
0015     AddPrinterAssistant.cpp
0016 
0017     AddPrinter.h
0018     DevicesModel.h
0019     GenericPage.h
0020     PageDestinations.h
0021     ChooseLpd.h
0022     ChooseSamba.h
0023     ChooseSerial.h
0024     ChooseSocket.h
0025     ChooseUri.h
0026     PageChoosePrinters.h
0027     PageChoosePPD.h
0028     PageAddPrinter.h
0029     AddPrinterAssistant.h
0030 )
0031 
0032 ki18n_wrap_ui(addprinter_SRCS
0033     PageDestinations.ui
0034     ChooseLpd.ui
0035     ChooseSamba.ui
0036     ChooseSerial.ui
0037     ChooseSocket.ui
0038     ChooseUri.ui
0039     PageChoosePrinters.ui
0040     PageChoosePPD.ui
0041     PageAddPrinter.ui
0042 )
0043 
0044 add_executable(kde-add-printer
0045     ${addprinter_SRCS}
0046 )
0047 
0048 target_link_libraries(kde-add-printer
0049     Qt::Core
0050     Qt::Widgets
0051     Qt::Network
0052     KF5::CoreAddons
0053     KF5::I18n
0054     KF5::IconThemes
0055     KF5::KIOCore
0056     KF5::KIOWidgets
0057     KF5::ConfigCore
0058     kcupslib
0059 )
0060 if (QT_MAJOR_VERSION STREQUAL "6")
0061     target_link_libraries(kde-add-printer Qt6::Core5Compat)
0062 endif()
0063 
0064 install(TARGETS kde-add-printer DESTINATION ${KDE_INSTALL_BINDIR})
0065 install(PROGRAMS org.kde.kde-add-printer.desktop DESTINATION ${KDE_INSTALL_APPDIR})