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.
tde-style-polyester/client/CMakeLists.txt

65 lines
1.7 KiB

################################################################################
# Polyester - widget style and twin decoration aimed to be a good balance #
# between eye candy and simplicity #
# #
# This file is released under the GNU GPL version 3 or later. #
# Improvements and feedback are welcome! #
################################################################################
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIBRARY_DIRS}
)
tde_import(twin)
### buttons.h ##################################################################
configure_file( create-buttons.sh.cmake create-buttons.sh @ONLY )
add_custom_target( buttons.h
COMMAND ${CMAKE_COMMAND} -E env ${CMAKE_CURRENT_BINARY_DIR}/create-buttons.sh
)
### twin_polyester (kpart) #####################################################
tde_add_kpart( twin_polyester AUTOMOC
SOURCES
polyester.cpp
shadow.cpp
${CMAKE_SOURCE_DIR}/style/misc.cpp
LINK
tdecore-shared
tdeui-shared
tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
add_dependencies( twin_polyester-module buttons.h )
### other data #################################################################
install(
FILES polyester.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
)
### configuration module #######################################################
add_subdirectory(config)