summaryrefslogtreecommitdiffstats
path: root/styles/phase/CMakeLists.txt
blob: f1a326110cc113039dc73ab1120aaea580c8e1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#################################################
#
#  (C) 2011 Golubev Alexander
#  fatzer2 (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

add_definitions(
  -DQT_PLUGIN
)

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)


link_directories(
  ${TQT_LIBRARY_DIRS}
)

add_subdirectory( config )

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

tde_create_translated_desktop(
  SOURCE phase.themerc
  DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
  PO_DIR style-themes
)

##### phasestyle #################################

set( target phasestyle )

set( ${target}_SRCS
  phasestyle.cpp
)

tde_add_kpart( ${target} AUTOMOC
  SOURCES ${${target}_SRCS}
  LINK tdefx-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
)