You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.6 KiB
70 lines
1.6 KiB
14 years ago
|
#################################################
|
||
|
#
|
||
|
# (C) 2010-2011 Serghei Amelian
|
||
|
# serghei (DOT) amelian (AT) gmail.com
|
||
|
#
|
||
|
# Improvements and feedback are welcome
|
||
|
#
|
||
|
# This file is released under GPL >= 2
|
||
|
#
|
||
|
#################################################
|
||
|
|
||
13 years ago
|
project( twin )
|
||
13 years ago
|
|
||
14 years ago
|
add_subdirectory( lib )
|
||
|
add_subdirectory( killer )
|
||
13 years ago
|
add_subdirectory( kcmtwin )
|
||
14 years ago
|
add_subdirectory( pics )
|
||
|
add_subdirectory( clients )
|
||
|
add_subdirectory( oldheaders )
|
||
|
add_subdirectory( data )
|
||
14 years ago
|
tde_conditional_add_subdirectory( WITH_XCOMPOSITE kompmgr )
|
||
14 years ago
|
|
||
|
|
||
|
include_directories(
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/lib
|
||
|
${TDE_INCLUDE_DIR}
|
||
|
${TQT_INCLUDE_DIRS}
|
||
|
)
|
||
|
|
||
|
link_directories(
|
||
|
${TQT_LIBRARY_DIRS}
|
||
|
)
|
||
|
|
||
|
|
||
|
##### headers ###################################
|
||
|
|
||
|
install( FILES KWinInterface.h DESTINATION ${INCLUDE_INSTALL_DIR} )
|
||
|
|
||
|
|
||
|
##### other data ################################
|
||
|
|
||
13 years ago
|
tde_install_icons( twin )
|
||
|
install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/twin )
|
||
|
install( FILES twin.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
||
14 years ago
|
|
||
|
|
||
13 years ago
|
##### twin (tdeinit) ############################
|
||
14 years ago
|
|
||
13 years ago
|
set( target twin )
|
||
14 years ago
|
|
||
|
set( ${target}_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 KWinInterface.skel
|
||
|
killwindow.cpp geometrytip.cpp sm.cpp group.cpp bridge.cpp
|
||
|
manage.cpp notifications.cpp activation.cpp useractions.cpp
|
||
|
geometry.cpp rules.cpp
|
||
|
)
|
||
|
|
||
13 years ago
|
tde_add_tdeinit_executable( ${target} AUTOMOC
|
||
14 years ago
|
SOURCES ${${target}_SRCS}
|
||
13 years ago
|
LINK tdecorations-shared tdeui-shared Xext
|
||
14 years ago
|
)
|
||
13 years ago
|
|
||
|
##### install import cmake modules ###############
|
||
|
|
||
|
tde_install_export( )
|
||
|
|