1 add_subdirectory( pixmaps )
3 add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
5 set(kmenueditcommon_STAT_SRCS preferencesdlg.cpp klinespellchecking.cpp basictab.cpp treeview.cpp kmenuedit.cpp menufile.cpp menuinfo.cpp )
7 set(kmenueditcommon_STAT_SRCS ${kmenueditcommon_STAT_SRCS} khotkeys.cpp)
9 ########### next target ###############
11 qt4_add_dbus_adaptor( kmenueditcommon_STAT_SRCS org.kde.kmenuedit.xml kmenuedit.h KMenuEdit)
14 qt4_add_dbus_interface(
15 kmenueditcommon_STAT_SRCS
16 ${CMAKE_CURRENT_BINARY_DIR}/../khotkeys/app/org.kde.khotkeys.xml
20 set(kmenuedit_KDEINIT_SRCS main.cpp ${kmenueditcommon_STAT_SRCS})
22 kde4_add_kdeinit_executable( kmenuedit ${kmenuedit_KDEINIT_SRCS})
24 target_link_libraries(kdeinit_kmenuedit ${KDE4_KDE3SUPPORT_LIBS} ${QT_QTXML_LIBRARY}
27 install(TARGETS kdeinit_kmenuedit DESTINATION ${LIB_INSTALL_DIR} )
29 target_link_libraries( kmenuedit kdeinit_kmenuedit )
30 install(TARGETS kmenuedit ${INSTALL_TARGETS_DEFAULT_ARGS})
32 ########### install files ###############
34 install( FILES kmenuedit.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
35 install( FILES kmenueditui.rc DESTINATION ${DATA_INSTALL_DIR}/kmenuedit )
38 add_dependencies(kdeinit_kmenuedit kded_khotkeys)
41 kde4_install_icons( ${ICON_INSTALL_DIR} )