eff415afbd
r560630: ported to new snapshot r564554: - make the KCMs services - use KGenericFactory (the construction code could be cleaned up some more) r564565: - KGenericFactory - make 'em services svn path=/branches/work/kwin_composite/; revision=628704
50 lines
1.4 KiB
CMake
50 lines
1.4 KiB
CMake
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kcm_kwinoptions_PART_SRCS windows.cpp mouse.cpp main.cpp )
|
|
|
|
kde4_automoc(kcm_kwinoptions ${kcm_kwinoptions_PART_SRCS})
|
|
|
|
kde4_add_plugin(kcm_kwinoptions ${kcm_kwinoptions_PART_SRCS})
|
|
|
|
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_kwinoptions )
|
|
|
|
target_link_libraries(kcm_kwinoptions ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QT3SUPPORT_LIBRARY})
|
|
|
|
install(TARGETS kcm_kwinoptions DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kwinoptions.desktop kwinactions.desktop kwinadvanced.desktop
|
|
kwinfocus.desktop kwinmoving.desktop kwintranslucency.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} crystalsvg )
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#METASOURCES = AUTO
|
|
#INCLUDES = $(all_includes)
|
|
#
|
|
#kde_module_LTLIBRARIES = kcm_kwinoptions.la
|
|
#
|
|
#kcm_kwinoptions_la_SOURCES = windows.cpp mouse.cpp main.cpp
|
|
#kcm_kwinoptions_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
|
|
#kcm_kwinoptions_la_LIBADD = $(LIB_KDEUI)
|
|
#
|
|
#noinst_HEADERS = windows.h mouse.h
|
|
#
|
|
#messages:
|
|
# $(XGETTEXT) *.cpp -o $(podir)/kcmkwm.pot
|
|
#
|
|
#kwin_kcmkwin_options_data_DATA = kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop kwinmoving.desktop kwintranslucency.desktop
|
|
#kwin_kcmkwin_options_datadir = $(kde_appsdir)/.hidden
|
|
#
|
|
#xdg_apps_DATA = kwinoptions.desktop
|
|
#KDE_ICON=AUTO
|