################################################################################
#  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}
)


### polyester (kpart) ##########################################################

tde_add_kpart( polyester AUTOMOC

  SOURCES
    polyester.cpp
    misc.cpp

  LINK
     tdecore-shared

  DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
)


### configuration module #######################################################

add_subdirectory(config)


### other data #################################################################

install(
  FILES polyester.themerc
  DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
)
