summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/cupsdconf2/CMakeLists.txt
blob: 914b184465867750332c7575a73f791b3c9757f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_BINARY_DIR}/kdecore
  ${CMAKE_SOURCE_DIR}/kdecore
  ${CMAKE_SOURCE_DIR}/kdeui
  ${CMAKE_SOURCE_DIR}/kio
  ${CMAKE_SOURCE_DIR}/kio/kio
  ${CMAKE_SOURCE_DIR}/kio/kfile
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### other data ################################

install( FILES
    kde_logo.png cups_logo.png cupsd.conf.template
  DESTINATION ${DATA_INSTALL_DIR}/kdeprint )


#### cupsdconf ##################################

set( target cupsdconf )

set( ${target}_SRCS
  cupsdconf.cpp cupsddialog.cpp cupsdpage.cpp cupsdcomment.cpp
  cupsdsplash.cpp cupsdserverpage.cpp cupsdlogpage.cpp
  cupsdjobspage.cpp cupsdfilterpage.cpp qdirlineedit.cpp
  cupsddirpage.cpp portdialog.cpp cupsdnetworkpage.cpp
  editlist.cpp cupsdbrowsingpage.cpp browsedialog.cpp
  cupsdsecuritypage.cpp locationdialog.cpp addressdialog.cpp
  cups-util.c qdirmultilineedit.cpp sizewidget.cpp main.cpp
)

tde_add_kdeinit_executable( ${target} AUTOMOC
  SOURCES ${${target}_SRCS}
  LINK kio-shared ${CUPS_LIBRARIES}
)