ui v3 to 4
[kdeaccessibility.git] / kmag / CMakeLists.txt
blob7fccb50f447617193ee050e55df025af52da9a8f
1 project(kmag)
5 ########### next target ###############
7 set(kmag_SRCS 
8    kmagzoomview.cpp 
9    kmagselrect.cpp 
10    kmag.cpp 
11    main.cpp )
13 kde4_automoc(${kmag_SRCS})
15 kde4_add_executable(kmag ${kmag_SRCS})
17 target_link_libraries(kmag  ${KDE4_KDECORE_LIBS} kdeprint )
19 install_targets(/bin kmag )
22 ########### install files ###############
24 install_files( ${DATA_INSTALL_DIR}/kmag/icons FILES  )
25 install_files( ${XDG_APPS_DIR} FILES kmag.desktop )
26 install_files( ${DATA_INSTALL_DIR}/kmag FILES kmagui.rc )
28 kde4_install_icons( ${ICON_INSTALL_DIR}  hicolor )
33 #original Makefile.am contents follow:
35 #bin_PROGRAMS = kmag
37 ### INCLUDES were found outside kdevelop specific part
39 #kmag_SOURCES = kmagzoomview.cpp kmagselrect.cpp kmag.cpp main.cpp 
40 #kmag_LDADD   = $(LIB_KDEPRINT)
43 #EXTRA_DIST = main.cpp version.h kmag.cpp kmag.h kmagui.rc kmag.desktop lo32-app-kmag.png lo16-app-kmag.png kmagselrect.cpp kmagselrect.h hi16-app-kmag.png kmagzoomview.cpp kmagzoomview.h 
45 #uninstall-local:
46 #       -rm -f $(DESTDIR)$(kde_appsdir)/Applications/kmag.desktop
48 #KDE_ICON = kmag 
50 #kmagdir = $(kde_appsdir)/Applications
51 #kmag_DATA = kmag.desktop
53 #kmagiconsdir = $(kde_datadir)/kmag/icons
54 #kmagicons_ICON = followmouse hidemouse window
56 ## set the include path for X, qt and KDE
57 #INCLUDES= $(all_includes)
59 #METASOURCES = AUTO
61 #KDE_OPTIONS = nofinal
63 ## the library search path. 
64 #kmag_LDFLAGS = $(all_libraries) $(KDE_RPATH)
66 #rcdir = $(kde_datadir)/kmag
67 #rc_DATA = kmagui.rc
69 #messages: rc.cpp
70 #       LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
71 #       if test -n "$$LIST"; then \
72 #        $(XGETTEXT) $$LIST -o $(podir)/kmag.pot; \
73 #       fi