Add module to compile kdebase with kdelibs-cmake.
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
This commit is contained in:
parent
3c6af0ff28
commit
03725a7d66
32 changed files with 1482 additions and 0 deletions
108
CMakeLists.txt
Normal file
108
CMakeLists.txt
Normal file
|
@ -0,0 +1,108 @@
|
|||
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
|
32
clients/CMakeLists.txt
Normal file
32
clients/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( plastik )
|
||||
add_subdirectory( b2 )
|
||||
add_subdirectory( default )
|
||||
add_subdirectory( keramik )
|
||||
add_subdirectory( laptop )
|
||||
add_subdirectory( modernsystem )
|
||||
add_subdirectory( quartz )
|
||||
add_subdirectory( redmond )
|
||||
add_subdirectory( web )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#SUBDIRS = plastik b2 default keramik laptop modernsystem quartz redmond web
|
||||
## need to be ported: kwmtheme (almost done)
|
||||
## only for testing: test
|
||||
#
|
||||
#messages: rc.cpp
|
||||
# $(EXTRACTRC) `find . -name \*.ui` >> rc.cpp
|
||||
# $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kwin_clients.pot
|
||||
# -rm rc.cpp
|
55
clients/b2/CMakeLists.txt
Normal file
55
clients/b2/CMakeLists.txt
Normal file
|
@ -0,0 +1,55 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_b2_PART_SRCS b2client.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_b2_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_b2 ${kwin3_b2_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_b2 )
|
||||
|
||||
target_link_libraries(kwin3_b2 ${QT_AND_KDECORE_LIBS} kdecorations kdefx )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_b2 )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES b2.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#SUBDIRS = . config
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_b2.la
|
||||
#
|
||||
#kwin3_b2_la_SOURCES = b2client.cpp
|
||||
#kwin3_b2_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
## kwin_b2_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)
|
||||
#kwin3_b2_la_LIBADD = ../../lib/libkdecorations.la -lkdefx
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = b2client.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin/
|
||||
#lnk_DATA = b2.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(lnk_DATA)
|
||||
#
|
||||
####KMAKE-start (don't edit or delete this block)
|
||||
#
|
||||
####KMAKE-end
|
46
clients/b2/config/CMakeLists.txt
Normal file
46
clients/b2/config/CMakeLists.txt
Normal file
|
@ -0,0 +1,46 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin_b2_config_PART_SRCS config.cpp )
|
||||
|
||||
kde4_automoc(${kwin_b2_config_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin_b2_config ${kwin_b2_config_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin_b2_config )
|
||||
|
||||
target_link_libraries(kwin_b2_config ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin_b2_config )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin_b2_config.la
|
||||
#
|
||||
#kwin_b2_config_la_SOURCES = config.cpp
|
||||
#kwin_b2_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin_b2_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
|
45
clients/default/CMakeLists.txt
Normal file
45
clients/default/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_default_PART_SRCS kdedefault.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_default_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_default ${kwin3_default_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_default )
|
||||
|
||||
target_link_libraries(kwin3_default ${QT_AND_KDECORE_LIBS} kdefx kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_default )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#SUBDIRS = . config
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_default.la
|
||||
#
|
||||
#kwin3_default_la_SOURCES = kdedefault.cpp
|
||||
#kwin3_default_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_default_la_LIBADD = $(LIB_KDECORE) -lkdefx ../../lib/libkdecorations.la
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = kdedefault.h
|
||||
#
|
46
clients/default/config/CMakeLists.txt
Normal file
46
clients/default/config/CMakeLists.txt
Normal file
|
@ -0,0 +1,46 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### 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 ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
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
|
54
clients/keramik/CMakeLists.txt
Normal file
54
clients/keramik/CMakeLists.txt
Normal file
|
@ -0,0 +1,54 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_keramik_PART_SRCS keramik.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_keramik_PART_SRCS})
|
||||
|
||||
qt4_add_resources(kwin3_keramik_PART_SRCS tiles.qrc )
|
||||
|
||||
kde4_add_plugin(kwin3_keramik ${kwin3_keramik_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_keramik )
|
||||
|
||||
target_link_libraries(kwin3_keramik ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_keramik )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin FILES keramik.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#SUBDIRS = . config
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_keramik.la
|
||||
#
|
||||
#kwin3_keramik_la_SOURCES = keramik.cpp tiles.qrc
|
||||
#kwin3_keramik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_keramik_la_LIBADD = $(LIB_KDEUI) ../../lib/libkdecorations.la
|
||||
##kwin3_keramik_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_headers = keramik.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin
|
||||
#lnk_DATA = keramik.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(lnk_DATA)
|
||||
#
|
||||
#
|
45
clients/keramik/config/CMakeLists.txt
Normal file
45
clients/keramik/config/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin_keramik_config_PART_SRCS config.cpp )
|
||||
|
||||
kde4_automoc(${kwin_keramik_config_PART_SRCS})
|
||||
|
||||
kde4_add_ui3_files(kwin_keramik_config_PART_SRCS keramikconfig.ui )
|
||||
|
||||
kde4_add_plugin(kwin_keramik_config ${kwin_keramik_config_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin_keramik_config )
|
||||
|
||||
target_link_libraries(kwin_keramik_config ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin_keramik_config )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin FILES )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin_keramik_config.la
|
||||
#
|
||||
#kwin_keramik_config_la_SOURCES = config.cpp keramikconfig.ui
|
||||
#kwin_keramik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin_keramik_config_la_LIBADD = $(LIB_KDEUI)
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = config.h keramikconfig.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin
|
||||
#
|
47
clients/kwmtheme/CMakeLists.txt
Normal file
47
clients/kwmtheme/CMakeLists.txt
Normal file
|
@ -0,0 +1,47 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( cli_installer )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_kwmtheme_PART_SRCS kwmthemeclient.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_kwmtheme_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_kwmtheme ${kwin3_kwmtheme_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_kwmtheme )
|
||||
|
||||
target_link_libraries(kwin3_kwmtheme ${QT_AND_KDECORE_LIBS} kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_kwmtheme )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin FILES kwmtheme.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#SUBDIRS=cli_installer
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_kwmtheme.la
|
||||
#
|
||||
#kwin3_kwmtheme_la_SOURCES = kwmthemeclient.cpp
|
||||
#kwin3_kwmtheme_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_kwmtheme_la_LIBADD = -lkdecorations
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = kwmthemeclient.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin
|
||||
#lnk_DATA = kwmtheme.desktop
|
||||
#
|
45
clients/kwmtheme/cli_installer/CMakeLists.txt
Normal file
45
clients/kwmtheme/cli_installer/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwmtheme_SRCS main.cpp )
|
||||
|
||||
kde4_automoc(${kwmtheme_SRCS})
|
||||
|
||||
kde4_add_executable(kwmtheme ${kwmtheme_SRCS})
|
||||
|
||||
target_link_libraries(kwmtheme ${QT_AND_KDECORE_LIBS} )
|
||||
|
||||
install_targets(/bin kwmtheme )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
## set the include path for X, qt and KDE
|
||||
#INCLUDES= $(all_includes)
|
||||
#
|
||||
######## This part is very kwmtheme specific
|
||||
## you can add here more. This one gets installed
|
||||
#bin_PROGRAMS = kwmtheme
|
||||
#
|
||||
## Which sources should be compiled for kwmtheme.
|
||||
#kwmtheme_SOURCES = main.cpp
|
||||
#
|
||||
## the library search path.
|
||||
#kwmtheme_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
||||
#
|
||||
## the libraries to link against. Be aware of the order. First the libraries,
|
||||
## that depend on the following ones.
|
||||
#kwmtheme_LDADD = $(LIB_KDECORE)
|
||||
#
|
47
clients/laptop/CMakeLists.txt
Normal file
47
clients/laptop/CMakeLists.txt
Normal file
|
@ -0,0 +1,47 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_laptop_PART_SRCS laptopclient.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_laptop_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_laptop ${kwin3_laptop_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_laptop )
|
||||
|
||||
target_link_libraries(kwin3_laptop ${QT_AND_KDECORE_LIBS} kdecorations kdefx )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_laptop )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin FILES laptop.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_laptop.la
|
||||
#
|
||||
#kwin3_laptop_la_SOURCES = laptopclient.cpp
|
||||
#kwin3_laptop_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_laptop_la_LIBADD = ../../lib/libkdecorations.la -lkdefx
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = laptopclient.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin
|
||||
#lnk_DATA = laptop.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(lnk_DATA)
|
||||
#
|
51
clients/modernsystem/CMakeLists.txt
Normal file
51
clients/modernsystem/CMakeLists.txt
Normal file
|
@ -0,0 +1,51 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_modernsys_PART_SRCS modernsys.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_modernsys_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_modernsys ${kwin3_modernsys_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_modernsys )
|
||||
|
||||
target_link_libraries(kwin3_modernsys ${QT_AND_KDECORE_LIBS} kdecorations kdefx )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_modernsys )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES modernsystem.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#SUBDIRS = config
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_modernsys.la
|
||||
#
|
||||
#kwin3_modernsys_la_SOURCES = modernsys.cpp
|
||||
#kwin3_modernsys_la_LIBADD = ../../lib/libkdecorations.la -lkdefx
|
||||
#kwin3_modernsys_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = modernsys.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin/
|
||||
#lnk_DATA = modernsystem.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(lnk_DATA)
|
||||
#
|
44
clients/modernsystem/config/CMakeLists.txt
Normal file
44
clients/modernsystem/config/CMakeLists.txt
Normal file
|
@ -0,0 +1,44 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin_modernsys_config_PART_SRCS config.cpp )
|
||||
|
||||
kde4_automoc(${kwin_modernsys_config_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin_modernsys_config ${kwin_modernsys_config_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin_modernsys_config )
|
||||
|
||||
target_link_libraries(kwin_modernsys_config ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin_modernsys_config )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin_modernsys_config.la
|
||||
#
|
||||
#kwin_modernsys_config_la_SOURCES = config.cpp
|
||||
#kwin_modernsys_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin_modernsys_config_la_LIBADD = $(LIB_KDEUI)
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = config.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin/
|
||||
#
|
55
clients/plastik/CMakeLists.txt
Normal file
55
clients/plastik/CMakeLists.txt
Normal file
|
@ -0,0 +1,55 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_plastik_PART_SRCS
|
||||
plastik.cpp
|
||||
plastikclient.cpp
|
||||
plastikbutton.cpp
|
||||
misc.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_plastik_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_plastik ${kwin3_plastik_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_plastik )
|
||||
|
||||
target_link_libraries(kwin3_plastik ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_plastik )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES plastik.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#AUTOMAKE_OPTIONS = foreign
|
||||
#
|
||||
#SUBDIRS = config
|
||||
#
|
||||
#KDE_CXXFLAGS = -DQT_PLUGIN
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#kwindir = $(kde_datadir)/kwin/
|
||||
#kwin_DATA = plastik.desktop
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_plastik.la
|
||||
#kwin3_plastik_la_SOURCES = plastik.cpp plastikclient.cpp plastikbutton.cpp misc.cpp
|
||||
#kwin3_plastik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_plastik_la_LIBADD = $(LIB_KDEUI) ../../lib/libkdecorations.la
|
||||
#kwin3_plastik_la_METASOURCES = AUTO
|
||||
#
|
||||
#DISTCLEANFILES = $(kwin3_plastik_la_METASOURCES)
|
||||
#
|
46
clients/plastik/config/CMakeLists.txt
Normal file
46
clients/plastik/config/CMakeLists.txt
Normal file
|
@ -0,0 +1,46 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### 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 ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 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
|
||||
#
|
55
clients/quartz/CMakeLists.txt
Normal file
55
clients/quartz/CMakeLists.txt
Normal file
|
@ -0,0 +1,55 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( config )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_quartz_PART_SRCS quartz.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_quartz_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_quartz ${kwin3_quartz_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_quartz )
|
||||
|
||||
target_link_libraries(kwin3_quartz ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_quartz )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES quartz.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#SUBDIRS = . config
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_quartz.la
|
||||
#
|
||||
#kwin3_quartz_la_SOURCES = quartz.cpp
|
||||
#kwin3_quartz_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_quartz_la_LIBADD = $(LIB_KDEUI) ../../lib/libkdecorations.la
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = quartz.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin/
|
||||
#lnk_DATA = quartz.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(lnk_DATA)
|
||||
#
|
||||
#
|
||||
####KMAKE-start (don't edit or delete this block)
|
||||
#
|
||||
####KMAKE-end
|
46
clients/quartz/config/CMakeLists.txt
Normal file
46
clients/quartz/config/CMakeLists.txt
Normal file
|
@ -0,0 +1,46 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin_quartz_config_PART_SRCS config.cpp )
|
||||
|
||||
kde4_automoc(${kwin_quartz_config_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin_quartz_config ${kwin_quartz_config_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin_quartz_config )
|
||||
|
||||
target_link_libraries(kwin_quartz_config ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin_quartz_config )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin_quartz_config.la
|
||||
#
|
||||
#kwin_quartz_config_la_SOURCES = config.cpp
|
||||
#kwin_quartz_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin_quartz_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
|
47
clients/redmond/CMakeLists.txt
Normal file
47
clients/redmond/CMakeLists.txt
Normal file
|
@ -0,0 +1,47 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_redmond_PART_SRCS redmond.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_redmond_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_redmond ${kwin3_redmond_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_redmond )
|
||||
|
||||
target_link_libraries(kwin3_redmond ${QT_AND_KDECORE_LIBS} kdefx kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_redmond )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin FILES redmond.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_redmond.la
|
||||
#
|
||||
#kwin3_redmond_la_SOURCES = redmond.cpp
|
||||
#kwin3_redmond_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_redmond_la_LIBADD = $(LIB_KDECORE) -lkdefx ../../lib/libkdecorations.la
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#noinst_HEADERS = redmond.h
|
||||
#
|
||||
#lnkdir = $(kde_datadir)/kwin
|
||||
#lnk_DATA = redmond.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(lnk_DATA)
|
||||
#
|
45
clients/test/CMakeLists.txt
Normal file
45
clients/test/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_test_PART_SRCS test.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_test_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_test ${kwin3_test_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_test )
|
||||
|
||||
target_link_libraries(kwin3_test ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_test )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin FILES test.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kwin3_test.la
|
||||
#
|
||||
#kwin3_test_la_SOURCES = test.cpp
|
||||
#kwin3_test_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_test_la_LIBADD = $(LIB_KDEUI) ../../lib/libkdecorations.la
|
||||
##kwin_keramik_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#
|
||||
#kwin_test_lnkdir = $(kde_datadir)/kwin
|
||||
#kwin_test_lnk_DATA = test.desktop
|
||||
#
|
||||
#EXTRA_DIST = $(kwin_test_lnk_DATA)
|
45
clients/web/CMakeLists.txt
Normal file
45
clients/web/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin3_web_PART_SRCS Web.cpp WebButton.cpp )
|
||||
|
||||
kde4_automoc(${kwin3_web_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kwin3_web ${kwin3_web_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_web )
|
||||
|
||||
target_link_libraries(kwin3_web ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_web )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/ FILES web.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = -I$(top_srcdir) $(all_includes)
|
||||
#kde_module_LTLIBRARIES = kwin3_web.la
|
||||
#
|
||||
#kwin3_web_la_SOURCES = Web.cpp WebButton.cpp
|
||||
#
|
||||
#noinst_HEADERS = Web.h WebButton.h
|
||||
#
|
||||
#kwin3_web_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
|
||||
#kwin3_web_la_LIBADD = $(LIB_KDEUI) ../../lib/libkdecorations.la
|
||||
#METASOURCES = AUTO
|
||||
#
|
||||
#linkdir = $(kde_datadir)/kwin/
|
||||
#link_DATA = web.desktop
|
||||
#EXTRA_DIST = $(link_DATA)
|
||||
#
|
42
data/CMakeLists.txt
Normal file
42
data/CMakeLists.txt
Normal file
|
@ -0,0 +1,42 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/default_rules FILES fsp_workarounds_1 )
|
||||
install_files( ${SOUND_INSTALL_DIR} FILES pop.wav )
|
||||
install_files( ${DATA_INSTALL_DIR}/kconf_update FILES kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd kwin_focus1.upd kwinupdatewindowsettings.upd kwin_focus2.upd kwin_fsp_workarounds_1.upd )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#kconf_PROGRAMS = kwin_update_window_settings kwin_update_default_rules
|
||||
#kconfdir = $(libdir)/kconf_update_bin
|
||||
#
|
||||
#kwin_update_window_settings_SOURCES = update_window_settings.cpp
|
||||
#kwin_update_window_settings_LDADD = $(LIB_KDECORE) $(KDE_RPATH)
|
||||
#kwin_update_window_settings_LDFLAGS = $(all_libraries)
|
||||
#
|
||||
#kwin_update_default_rules_SOURCES = update_default_rules.cpp
|
||||
#kwin_update_default_rules_LDADD = $(LIB_KDECORE) $(KDE_RPATH)
|
||||
#kwin_update_default_rules_LDFLAGS = $(all_libraries)
|
||||
#
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#
|
||||
#sounddir= $(kde_sounddir)
|
||||
#sound_DATA = pop.wav
|
||||
#
|
||||
#update_DATA = kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd kwin_focus1.upd \
|
||||
# kwinupdatewindowsettings.upd kwin_focus2.upd kwin_fsp_workarounds_1.upd
|
||||
#update_SCRIPTS = pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh
|
||||
#updatedir = $(kde_datadir)/kconf_update
|
||||
#
|
||||
#kwin_default_rules_DATA = fsp_workarounds_1
|
||||
#kwin_default_rulesdir = $(kde_datadir)/kwin/default_rules
|
19
kcmkwin/CMakeLists.txt
Normal file
19
kcmkwin/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( kwinoptions )
|
||||
add_subdirectory( kwindecoration )
|
||||
add_subdirectory( kwinrules )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#SUBDIRS = kwinoptions kwindecoration kwinrules
|
50
kcmkwin/kwindecoration/CMakeLists.txt
Normal file
50
kcmkwin/kwindecoration/CMakeLists.txt
Normal file
|
@ -0,0 +1,50 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kcm_kwindecoration_PART_SRCS kwindecoration.cpp buttons.cpp preview.cpp )
|
||||
|
||||
kde4_automoc(${kcm_kwindecoration_PART_SRCS})
|
||||
|
||||
kde4_add_dcop_skels(kcm_kwindecoration_PART_SRCS kwindecorationIface.h )
|
||||
|
||||
kde4_add_plugin(kcm_kwindecoration ${kcm_kwindecoration_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_kwindecoration )
|
||||
|
||||
target_link_libraries(kcm_kwindecoration ${QT_AND_KDECORE_LIBS} kdeui kdecorations )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kcm_kwindecoration )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${XDG_APPS_DIR} FILES kwindecoration.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = -I$(srcdir)/../../lib $(all_includes)
|
||||
#
|
||||
#kde_module_LTLIBRARIES = kcm_kwindecoration.la
|
||||
#
|
||||
#kcm_kwindecoration_la_SOURCES = kwindecoration.cpp buttons.cpp kwindecorationIface.skel preview.cpp
|
||||
#noinst_HEADERS = kwindecoration.h kwindecorationIface.h buttons.h preview.h
|
||||
#
|
||||
#kcm_kwindecoration_la_LDFLAGS = \
|
||||
# -module -avoid-version $(all_libraries) -no-undefined
|
||||
#
|
||||
#kcm_kwindecoration_la_LIBADD = $(LIB_KDEUI) ../../lib/libkdecorations.la
|
||||
#
|
||||
#METASOURCES = AUTO
|
||||
#
|
||||
#messages:
|
||||
# $(XGETTEXT) *.cpp -o $(podir)/kcmkwindecoration.pot
|
||||
#
|
||||
#xdg_apps_DATA = kwindecoration.desktop
|
52
kcmkwin/kwinoptions/CMakeLists.txt
Normal file
52
kcmkwin/kwinoptions/CMakeLists.txt
Normal file
|
@ -0,0 +1,52 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kcm_kwinoptions_PART_SRCS windows.cpp mouse.cpp main.cpp )
|
||||
|
||||
kde4_automoc(${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 ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kcm_kwinoptions )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${XDG_APPS_DIR} FILES kwinoptions.desktop )
|
||||
install_files( ${APPLNK_INSTALL_DIR}/.hidden FILES kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop kwinmoving.desktop kwintranslucency.desktop )
|
||||
|
||||
kde4_install_icons( hicolor crystalsvg )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#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
|
77
kcmkwin/kwinrules/CMakeLists.txt
Normal file
77
kcmkwin/kwinrules/CMakeLists.txt
Normal file
|
@ -0,0 +1,77 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin_rules_dialog_KDEINIT_SRCS main.cpp )
|
||||
|
||||
kde4_automoc(${kwin_rules_dialog_KDEINIT_SRCS})
|
||||
|
||||
kde4_add_kdeinit_executable( kwin_rules_dialog ${kwin_rules_dialog_KDEINIT_SRCS})
|
||||
|
||||
target_link_libraries(kdeinit_kwin_rules_dialog ${QT_AND_KDECORE_LIBS} kwinrules )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR} kdeinit_kwin_rules_dialog )
|
||||
|
||||
target_link_libraries( kwin_rules_dialog kdeinit_kwin_rules_dialog )
|
||||
install_targets(/bin kwin_rules_dialog )
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kcm_kwinrules_PART_SRCS kcm.cpp )
|
||||
|
||||
kde4_automoc(${kcm_kwinrules_PART_SRCS})
|
||||
|
||||
kde4_add_plugin(kcm_kwinrules ${kcm_kwinrules_PART_SRCS})
|
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_kwinrules )
|
||||
|
||||
target_link_libraries(kcm_kwinrules ${QT_AND_KDECORE_LIBS} kwinrules )
|
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kcm_kwinrules )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${XDG_APPS_DIR} FILES kwinrules.desktop )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#METASOURCES = AUTO
|
||||
#AM_CPPFLAGS = $(all_includes) -DKCMRULES
|
||||
#INCLUDES = -I$(top_srcdir)/workspace/kwin/lib
|
||||
#
|
||||
#bin_PROGRAMS =
|
||||
#lib_LTLIBRARIES =
|
||||
#kdeinit_LTLIBRARIES = kwin_rules_dialog.la
|
||||
#kde_module_LTLIBRARIES = kcm_kwinrules.la
|
||||
#noinst_LTLIBRARIES = libkwinrules.la
|
||||
#
|
||||
#libkwinrules_la_SOURCES = ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp \
|
||||
# ruleswidgetbase.ui ruleslistbase.ui detectwidgetbase.ui editshortcutbase.ui
|
||||
#libkwinrules_la_LDFLAGS = $(all_libraries) -no-undefined
|
||||
#libkwinrules_la_LIBADD = $(LIB_KDEUI)
|
||||
#
|
||||
#kcm_kwinrules_la_SOURCES = kcm.cpp
|
||||
#kcm_kwinrules_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
|
||||
#kcm_kwinrules_la_LIBADD = libkwinrules.la
|
||||
#kcm_kwinrules_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h
|
||||
#
|
||||
#kwin_rules_dialog_la_SOURCES = main.cpp
|
||||
#kwin_rules_dialog_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
|
||||
#kwin_rules_dialog_la_LIBADD = libkwinrules.la
|
||||
#kwin_rules_dialog_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h
|
||||
#
|
||||
#messages: rc.cpp
|
||||
# $(XGETTEXT) *.cpp -o $(podir)/kcmkwinrules.pot
|
||||
#
|
||||
#xdg_apps_DATA = kwinrules.desktop
|
36
killer/CMakeLists.txt
Normal file
36
killer/CMakeLists.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kwin_killer_helper_SRCS killer.cpp )
|
||||
|
||||
kde4_automoc(${kwin_killer_helper_SRCS})
|
||||
|
||||
kde4_add_executable(kwin_killer_helper ${kwin_killer_helper_SRCS})
|
||||
|
||||
target_link_libraries(kwin_killer_helper ${QT_AND_KDECORE_LIBS} kdeui )
|
||||
|
||||
install_targets(/bin kwin_killer_helper )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#bin_PROGRAMS = kwin_killer_helper
|
||||
#
|
||||
#kwin_killer_helper_SOURCES = killer.cpp
|
||||
#kwin_killer_helper_LDADD = $(LIB_KDEUI)
|
||||
#kwin_killer_helper_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
||||
#
|
||||
#METASOURCES = AUTO
|
33
kompmgr/CMakeLists.txt
Normal file
33
kompmgr/CMakeLists.txt
Normal file
|
@ -0,0 +1,33 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kompmgr_SRCS kompmgr.c )
|
||||
|
||||
kde4_automoc(${kompmgr_SRCS})
|
||||
|
||||
kde4_add_executable(kompmgr ${kompmgr_SRCS})
|
||||
|
||||
target_link_libraries(kompmgr ${QT_AND_KDECORE_LIBS} Xcomposite Xdamage Xfixes Xext m )
|
||||
|
||||
install_targets(/bin kompmgr )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#bin_PROGRAMS = kompmgr
|
||||
#
|
||||
#kompmgr_SOURCES = kompmgr.c
|
||||
#kompmgr_LDADD = $(X_LDFLAGS) $(X_RPATH) -lXcomposite -lXdamage -lXfixes $(LIB_XRENDER) $(LIB_X11) -lXext -lm
|
||||
#
|
||||
#INCLUDES = $(all_includes)
|
56
lib/CMakeLists.txt
Normal file
56
lib/CMakeLists.txt
Normal file
|
@ -0,0 +1,56 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kdecorations_LIB_SRCS
|
||||
kdecoration.cpp
|
||||
kdecoration_p.cpp
|
||||
kdecoration_plugins_p.cpp
|
||||
kdecorationfactory.cpp
|
||||
kcommondecoration.cpp )
|
||||
|
||||
kde4_automoc(${kdecorations_LIB_SRCS})
|
||||
|
||||
kde4_add_library(kdecorations SHARED ${kdecorations_LIB_SRCS})
|
||||
|
||||
target_link_libraries(kdecorations ${QT_AND_KDECORE_LIBS} )
|
||||
|
||||
set_target_properties(kdecorations PROPERTIES VERSION 1.0.0 SOVERSION 1 )
|
||||
install_targets(${LIB_INSTALL_DIR} kdecorations )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( /include FILES kdecoration.h kdecoration_p.h kdecoration_plugins_p.h kdecorationfactory.h kcommondecoration.h )
|
||||
|
||||
kde4_create_doxygen_docs( )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
## FRAME libkwin???
|
||||
#lib_LTLIBRARIES = libkdecorations.la
|
||||
#
|
||||
#libkdecorations_la_SOURCES = kdecoration.cpp kdecoration_p.cpp kdecoration_plugins_p.cpp \
|
||||
# kdecorationfactory.cpp kcommondecoration.cpp
|
||||
#libkdecorations_la_LIBADD = $(LIB_KDECORE)
|
||||
#libkdecorations_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined
|
||||
#
|
||||
## FRAME
|
||||
#include_HEADERS = kdecoration.h kdecoration_p.h kdecoration_plugins_p.h \
|
||||
# kdecorationfactory.h kcommondecoration.h
|
||||
#
|
||||
#INCLUDES = $(all_includes)
|
||||
#METASOURCES = AUTO
|
||||
#
|
||||
#include ../../../admin/Doxyfile.am
|
||||
#
|
||||
#messages: rc.cpp
|
||||
# $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kwin_lib.pot
|
||||
# -rm rc.cpp
|
17
oldheaders/CMakeLists.txt
Normal file
17
oldheaders/CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( /include/kwin FILES options.h client.h workspace.h kwinbutton.h )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#kwin_kwinincludedir = $(includedir)/kwin
|
||||
#kwin_kwininclude_HEADERS = options.h client.h workspace.h kwinbutton.h
|
24
pics/CMakeLists.txt
Normal file
24
pics/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install_files( ${DATA_INSTALL_DIR}/kwin/pics FILES close.png maximize.png maximizedown.png menu.png iconify.png pindown.png pinup.png unknown.png fog.png fog-grey.png bluesun.png greenie.light.png greenie.dim.png )
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#
|
||||
#kwin_pics_data_DATA = close.png maximize.png maximizedown.png menu.png \
|
||||
# iconify.png pindown.png pinup.png unknown.png fog.png \
|
||||
# fog-grey.png bluesun.png greenie.light.png greenie.dim.png
|
||||
#
|
||||
#kwin_pics_datadir = $(kde_datadir)/kwin/pics
|
||||
#
|
||||
#EXTRA_DIST = $(kwin_pics_data_DATA)
|
||||
#
|
38
tools/CMakeLists.txt
Normal file
38
tools/CMakeLists.txt
Normal file
|
@ -0,0 +1,38 @@
|
|||
kde4_header()
|
||||
|
||||
add_subdirectory( decobenchmark )
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(test_gravity_SRCS test_gravity.cpp )
|
||||
|
||||
kde4_automoc(${test_gravity_SRCS})
|
||||
|
||||
kde4_add_executable(test_gravity ${test_gravity_SRCS})
|
||||
|
||||
target_link_libraries(test_gravity ${QT_AND_KDECORE_LIBS} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#noinst_PROGRAMS = test_gravity
|
||||
#
|
||||
#SUBDIRS = decobenchmark
|
||||
#
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#test_gravity_SOURCES = test_gravity.cpp
|
||||
#test_gravity_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
||||
#test_gravity_LDADD = $(LIB_X11)
|
||||
#
|
||||
#METASOURCES = AUTO
|
34
tools/decobenchmark/CMakeLists.txt
Normal file
34
tools/decobenchmark/CMakeLists.txt
Normal file
|
@ -0,0 +1,34 @@
|
|||
kde4_header()
|
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(decobenchmark_SRCS main.cpp preview.cpp )
|
||||
|
||||
kde4_automoc(${decobenchmark_SRCS})
|
||||
|
||||
kde4_add_executable(decobenchmark ${decobenchmark_SRCS})
|
||||
|
||||
target_link_libraries(decobenchmark ${QT_AND_KDECORE_LIBS} kdecorations )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
kde4_footer()
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#noinst_PROGRAMS = decobenchmark
|
||||
#
|
||||
#INCLUDES = $(all_includes)
|
||||
#
|
||||
#decobenchmark_SOURCES = main.cpp preview.cpp
|
||||
#decobenchmark_LDFLAGS = $(all_libraries)
|
||||
#decobenchmark_LDADD = ../../lib/libkdecorations.la
|
||||
#
|
||||
#METASOURCES = AUTO
|
Loading…
Reference in a new issue