BE CARREFULL: Don't try to compile it for the moment (in progress) Don't use kdelibs trunk for compile it (there is not again test to disable compile when we compile with kdelibs trunk) For the moment there was a lot of missing test etc. I commit it just to allow to lose my changes if there is a pb on my HD. I will sync cmake from kdelibs trunk to kdelibs-snapshot. I hope to fix compile today or tomorrow. CCMAIL: neundorf@kde.org For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot to compile all the time with kdelibs-snapshot svn path=/trunk/KDE/kdebase/workspace/; revision=514380 The following changes were in SVN, but were removed from git: A wallpapers/CMakeLists.txt
108 lines
2.5 KiB
CMake
108 lines
2.5 KiB
CMake
kde4_header()
|
|
|
|
add_subdirectory( lib )
|
|
add_subdirectory( killer )
|
|
add_subdirectory( kcmkwin )
|
|
add_subdirectory( pics )
|
|
add_subdirectory( clients )
|
|
add_subdirectory( oldheaders )
|
|
add_subdirectory( data )
|
|
|
|
message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(KOMPMGR)")
|
|
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
|
|
|
|
|
########### 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})
|
|
|
|
target_link_libraries(kdeinit_kwin ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
|
|
|
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 )
|
|
|
|
kde4_install_icons( hicolor crystalsvg )
|
|
|
|
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
|