blob: b04b68ef8620e8123af8e08cdc707c5c6fc0552c (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
tde_import( twin )
add_subdirectory( config )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
${XEXT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
${XEXT_LIBRARY_DIRS}
)
##### pixmaps.h (header)
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/brushed-gradient
${CMAKE_SOURCE_DIR}/imagebase/brushed-tile
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_down
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_menu
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_menu_down
${CMAKE_SOURCE_DIR}/imagebase/button_milk
${CMAKE_SOURCE_DIR}/imagebase/button_milk_down
${CMAKE_SOURCE_DIR}/imagebase/button_milk_menu
${CMAKE_SOURCE_DIR}/imagebase/button_milk_menu_down
${CMAKE_SOURCE_DIR}/imagebase/button_panther
${CMAKE_SOURCE_DIR}/imagebase/button_panther_menu
${CMAKE_SOURCE_DIR}/imagebase/deco_glossy
${CMAKE_SOURCE_DIR}/imagebase/icon_above
${CMAKE_SOURCE_DIR}/imagebase/icon_behind
${CMAKE_SOURCE_DIR}/imagebase/icon_close
${CMAKE_SOURCE_DIR}/imagebase/icon_help
${CMAKE_SOURCE_DIR}/imagebase/icon_maximize
${CMAKE_SOURCE_DIR}/imagebase/icon_minimize
${CMAKE_SOURCE_DIR}/imagebase/icon_shade
${CMAKE_SOURCE_DIR}/imagebase/icon_sticky
)
set( _header pixmaps.h )
add_custom_command(
OUTPUT ${_header}
COMMAND ${UIC_EXECUTABLE}
ARGS -o ${_header} -embed baghira ${_pics}
DEPENDS ${_pics}
)
##### twin3_baghira (kpart)
set_source_files_properties(
baghiraclient.cc
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
)
tde_add_kpart( twin3_baghira AUTOMOC
SOURCES
baghiraclient.cc
LINK
tdecore-shared
tdeui-shared
tdecorations-shared
${X11_LIBRARIES}
${XEXT_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data
tde_create_translated_desktop(
SOURCE baghira.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
)
|