2006-02-28 08:01:15 +00:00
|
|
|
|
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( data )
|
2006-03-22 21:36:44 +00:00
|
|
|
|
2006-03-23 19:24:10 +00:00
|
|
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/lib ${CMAKE_CURRENT_SOURCE_DIR}/lib )
|
2006-05-12 00:08:30 +00:00
|
|
|
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2006-06-07 09:05:46 +00:00
|
|
|
set(kwin_KDEINIT_SRCS
|
2006-07-20 13:08:26 +00:00
|
|
|
kwinadaptor.cpp
|
2006-02-28 08:01:15 +00:00
|
|
|
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
|
2006-07-20 13:08:26 +00:00
|
|
|
rules.cpp )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
kde4_automoc(${kwin_KDEINIT_SRCS})
|
|
|
|
|
|
|
|
|
|
|
|
kde4_add_kdeinit_executable( kwin ${kwin_KDEINIT_SRCS})
|
|
|
|
|
2006-06-08 13:43:23 +00:00
|
|
|
target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations ${X11_LIBRARIES} ${QT_QT3SUPPORT_LIBRARY} )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2006-07-04 17:09:53 +00:00
|
|
|
install(TARGETS kdeinit_kwin DESTINATION ${LIB_INSTALL_DIR} )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
target_link_libraries( kwin kdeinit_kwin )
|
2006-07-20 13:08:26 +00:00
|
|
|
install(TARGETS kwin DESTINATION ${BIN_INSTALL_DIR})
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2006-07-04 17:09:53 +00:00
|
|
|
install( FILES kwin.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
|
|
|
install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kwin )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2006-08-14 13:27:48 +00:00
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
|