mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-25 19:32:54 +00:00
44 lines
831 B
Text
44 lines
831 B
Text
![]() |
find_package(KDE4Internal REQUIRED)
|
||
|
|
||
|
set(addprinter_SRCS
|
||
|
main.cpp
|
||
|
AddPrinter.cpp
|
||
|
DevicesModel.cpp
|
||
|
GenericPage.cpp
|
||
|
PageDestinations.cpp
|
||
|
ChooseLpd.cpp
|
||
|
ChooseSamba.cpp
|
||
|
ChooseSerial.cpp
|
||
|
ChooseSocket.cpp
|
||
|
ChooseUri.cpp
|
||
|
PageChoosePrinters.cpp
|
||
|
PageChoosePPD.cpp
|
||
|
PageAddPrinter.cpp
|
||
|
AddPrinterAssistant.cpp
|
||
|
)
|
||
|
|
||
|
kde4_add_ui_files(addprinter_SRCS
|
||
|
PageDestinations.ui
|
||
|
ChooseLpd.ui
|
||
|
ChooseSamba.ui
|
||
|
ChooseSerial.ui
|
||
|
ChooseSocket.ui
|
||
|
ChooseUri.ui
|
||
|
PageChoosePrinters.ui
|
||
|
PageChoosePPD.ui
|
||
|
PageAddPrinter.ui
|
||
|
)
|
||
|
|
||
|
kde4_add_executable(kde-add-printer
|
||
|
${addprinter_SRCS}
|
||
|
)
|
||
|
|
||
|
target_link_libraries(kde-add-printer
|
||
|
${KDE4_KDEUI_LIBS}
|
||
|
${QT_QTNETWORK_LIBRARY}
|
||
|
${KDE4_KIO_LIBS}
|
||
|
kcupslib
|
||
|
)
|
||
|
|
||
|
install(TARGETS kde-add-printer DESTINATION ${BIN_INSTALL_DIR})
|