2006-02-28 08:01:15 +00:00
|
|
|
kde4_header()
|
|
|
|
|
2006-03-16 21:16:35 +00:00
|
|
|
project(kwin)
|
|
|
|
|
2006-02-28 08:01:15 +00:00
|
|
|
add_subdirectory( lib )
|
|
|
|
add_subdirectory( killer )
|
2006-03-12 17:51:57 +00:00
|
|
|
add_subdirectory( kcmkwin )
|
2006-02-28 08:01:15 +00:00
|
|
|
add_subdirectory( pics )
|
|
|
|
add_subdirectory( clients )
|
|
|
|
add_subdirectory( oldheaders )
|
|
|
|
add_subdirectory( data )
|
2006-03-22 21:36:44 +00:00
|
|
|
|
2006-03-03 13:56:43 +00:00
|
|
|
if(X11_kompmgr_FOUND)
|
2006-03-22 21:36:44 +00:00
|
|
|
add_subdirectory(kompmgr)
|
2006-03-03 13:56:43 +00:00
|
|
|
endif(X11_kompmgr_FOUND)
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2006-03-23 19:24:10 +00:00
|
|
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/lib ${CMAKE_CURRENT_SOURCE_DIR}/lib )
|
2006-03-26 14:52:52 +00:00
|
|
|
include_directories( ${KDE4_INCLUDES} )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kwin_KDEINIT_SRCS
|
|
|
|
workspace.cpp
|
|
|
|
client.cpp
|
|
|
|
placement.cpp
|
|
|
|
atoms.cpp
|
|
|
|
utils.cpp
|
|
|
|
layers.cpp
|
|
|
|
main.cpp
|
|
|
|
popupinfo.cpp
|
|
|
|
tabbox.cpp
|
|
|
|
options.cpp
|
|
|
|
plugins.cpp
|
|
|
|
events.cpp
|
|
|
|
killwindow.cpp
|
|
|
|
geometrytip.cpp
|
|
|
|
sm.cpp
|
|
|
|
group.cpp
|
|
|
|
bridge.cpp
|
|
|
|
manage.cpp
|
|
|
|
notifications.cpp
|
|
|
|
activation.cpp
|
|
|
|
useractions.cpp
|
|
|
|
geometry.cpp
|
|
|
|
rules.cpp )
|
|
|
|
|
|
|
|
kde4_automoc(${kwin_KDEINIT_SRCS})
|
|
|
|
|
|
|
|
kde4_add_dcop_skels(kwin_KDEINIT_SRCS KWinInterface.h )
|
|
|
|
|
|
|
|
kde4_add_kdeinit_executable( kwin ${kwin_KDEINIT_SRCS})
|
|
|
|
|
2006-03-24 14:59:45 +00:00
|
|
|
target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations DCOP ${X11_LIBRARIES} ${QT_QT3SUPPORT_LIBRARY} )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
install_targets(${LIB_INSTALL_DIR} kdeinit_kwin )
|
|
|
|
|
|
|
|
target_link_libraries( kwin kdeinit_kwin )
|
|
|
|
install_targets(/bin kwin )
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install_files( ${KCFG_INSTALL_DIR} FILES kwin.kcfg )
|
|
|
|
install_files( ${DATA_INSTALL_DIR}/kwin FILES eventsrc )
|
|
|
|
install_files( /include FILES KWinInterface.h )
|
|
|
|
|
2006-03-03 14:46:52 +00:00
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} crystalsvg )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
kde4_create_doxygen_docs( )
|
|
|
|
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
|
|
|
|
#INCLUDES = -I$(srcdir)/lib $(all_includes)
|
|
|
|
#
|
|
|
|
#if include_kompmgr
|
|
|
|
#KOMPMGR=kompmgr
|
|
|
|
#endif
|
|
|
|
#
|
|
|
|
#SUBDIRS = lib . killer kcmkwin pics clients oldheaders data $(KOMPMGR)
|
|
|
|
#
|
|
|
|
#bin_PROGRAMS =
|
|
|
|
#lib_LTLIBRARIES =
|
|
|
|
#kdeinit_LTLIBRARIES = kwin.la
|
|
|
|
#
|
|
|
|
#kwin_la_SOURCES = workspace.cpp client.cpp placement.cpp atoms.cpp \
|
|
|
|
# utils.cpp layers.cpp main.cpp popupinfo.cpp tabbox.cpp \
|
|
|
|
# options.cpp plugins.cpp events.cpp KWinInterface.skel \
|
|
|
|
# killwindow.cpp geometrytip.cpp sm.cpp group.cpp bridge.cpp \
|
|
|
|
# manage.cpp notifications.cpp activation.cpp useractions.cpp \
|
|
|
|
# geometry.cpp rules.cpp
|
|
|
|
#
|
|
|
|
#kwin_la_LIBADD = $(LIB_KDEUI) lib/libkdecorations.la
|
|
|
|
#kwin_la_LDFLAGS = $(all_libraries) -module -avoid-version
|
|
|
|
#
|
|
|
|
#include_HEADERS = KWinInterface.h
|
|
|
|
#
|
|
|
|
#KDE_ICON = kwin
|
|
|
|
#
|
|
|
|
#METASOURCES = AUTO
|
|
|
|
#
|
|
|
|
#messages: rc.cpp
|
|
|
|
# $(XGETTEXT) *.h *.cpp killer/*.cpp lib/*.cpp -o $(podir)/kwin.pot
|
|
|
|
#
|
|
|
|
#kwin_datadir = $(kde_datadir)/kwin
|
|
|
|
#
|
|
|
|
#kwin_data_DATA= eventsrc
|
|
|
|
#
|
|
|
|
#kde_kcfg_DATA = kwin.kcfg
|
|
|
|
#
|
|
|
|
#include ../../admin/Doxyfile.am
|