kwin/clients/default/config/CMakeLists.txt
David Faure 090f6dcbfa Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].

Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.

svn path=/trunk/KDE/kdebase/workspace/; revision=521887

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-03-23 19:24:10 +00:00

45 lines
1 KiB
CMake

kde4_header()
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
########### next target ###############
set(kwin_default_config_PART_SRCS config.cpp )
kde4_automoc(${kwin_default_config_PART_SRCS})
kde4_add_plugin(kwin_default_config ${kwin_default_config_PART_SRCS})
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin_default_config )
target_link_libraries(kwin_default_config ${KDE4_KDECORE_LIBS} kdeui ${QT_QTGUI_LIBRARY})
install_targets(${LIB_INSTALL_DIR}/kde4 kwin_default_config )
########### install files ###############
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES )
kde4_footer()
#original Makefile.am contents follow:
#INCLUDES = $(all_includes)
#
#kde_module_LTLIBRARIES = kwin_default_config.la
#
#kwin_default_config_la_SOURCES = config.cpp
#kwin_default_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
#kwin_default_config_la_LIBADD = $(LIB_KDEUI)
#
#METASOURCES = AUTO
#noinst_HEADERS = config.h
#
#lnkdir = $(kde_datadir)/kwin/
#
####KMAKE-start (don't edit or delete this block)
#
####KMAKE-end