blob: 7b4bf093f3154179ac8bbb154613bf4f4d679c27 (
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
|
#################################################
#
# (C) 2016 Slávek Banko
# slavek (DOT) banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### core (static) #############################
set( target core )
set( ${target}_SRCS
dcopinterface.cpp dcopinterface.skel drophandler.cpp
netaccess.cpp tellico_config.kcfgc tellico_config_addons.cpp
)
tde_save( KDE3_DCOPIDL_EXECUTABLE )
set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
kde3_add_dcop_skels( ${target}_SRCS )
tde_restore( KDE3_DCOPIDL_EXECUTABLE )
tde_add_library( ${target} STATIC_PIC AUTOMOC
SOURCES ${${target}_SRCS}
)
##### other data ################################
install(
FILES tellico_config.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
install(
FILES tellico-rename.upd tellico.upd
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
)
install(
PROGRAMS tellico-1-3-update.pl
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
)
|