summaryrefslogtreecommitdiffstats
path: root/styles/phase2/CMakeLists.txt
blob: e2110ceba51b435e123bebca9fca60324aa6f6a3 (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) 2021 Vincent Reher
#  tde (AT) 4reher.org
#
#  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 phase2.themerc
  DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
  PO_DIR style-themes
)

##### phase2style #################################

set( target phase2style )

set( ${target}_SRCS
  phase2style.cpp phase2style.h shapes.h scaling.h
)

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