86d79b7414
svn path=/trunk/KDE/kdebase/workspace/; revision=531059
45 lines
1.2 KiB
CMake
45 lines
1.2 KiB
CMake
kde4_header()
|
|
include_directories( ${KDE4_INCLUDES} )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kwin_plastik_config_PART_SRCS config.cpp )
|
|
|
|
kde4_automoc(${kwin_plastik_config_PART_SRCS})
|
|
|
|
kde4_add_ui3_files(kwin_plastik_config_PART_SRCS configdialog.ui )
|
|
|
|
kde4_add_plugin(kwin_plastik_config ${kwin_plastik_config_PART_SRCS})
|
|
|
|
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin_plastik_config )
|
|
|
|
target_link_libraries(kwin_plastik_config ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QT3SUPPORT_LIBRARY})
|
|
|
|
install_targets(${PLUGIN_INSTALL_DIR} kwin_plastik_config )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install_files( ${DATA_INSTALL_DIR}/kwin FILES )
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#INCLUDES = $(all_includes)
|
|
#
|
|
#kde_module_LTLIBRARIES = kwin_plastik_config.la
|
|
#
|
|
#kwin_plastik_config_la_SOURCES = config.cpp configdialog.ui
|
|
#kwin_plastik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
|
#kwin_plastik_config_la_LIBADD = $(LIB_KDEUI)
|
|
#
|
|
#METASOURCES = AUTO
|
|
#noinst_HEADERS = config.h
|
|
#DISTCLEANFILES = $(METASOURCES)
|
|
#
|
|
#lnkdir = $(kde_datadir)/kwin
|
|
#
|