summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 65bf20e5809fc06b32264219185ba68033c67b3b (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
#################################################
#
#  (C) 2011 Timothy Pearson
#  kb9vqf (AT) pearsoncomputing.net
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/src
  ${CMAKE_SOURCE_DIR}/src
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


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

INSTALL(FILES tdesvnui.rc DESTINATION ${DATA_INSTALL_DIR}/tdesvn)
INSTALL(FILES tdesvn_part.rc DESTINATION ${DATA_INSTALL_DIR}/tdesvnpart)
INSTALL(FILES tdesvn.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})


##### tdesvnaskpass #############################

tde_add_executable( tdesvnaskpass AUTOMOC
  SOURCES askpass/tdesvn-askpass.cpp
#  LINK tdecore-shared
  DESTINATION ${BIN_INSTALL_DIR}
)


##### tdesvn #####################################

tde_add_executable( tdesvn AUTOMOC
  SOURCES main.cpp tdesvn.cpp urldlg.cpp commandline.cpp
  LINK tdecore-shared tdeui-shared kparts-shared DCOP-shared kio-shared)
  DESTINATION ${BIN_INSTALL_DIR}
)


##### tdesvnpart #################################

set( target tdesvnpart )

set( ${target}_SRCS
  tdesvn_events.cpp tdesvn_events.h tdesvn_part.cpp
  tdesvnview.cpp commandline_part.cpp
)

tde_add_kpart( ${target} AUTOMOC
  SOURCES ${${target}_SRCS}
  LINK tdecore-shared kio-shared kparts-shared tdeui-shared kwallet-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)

add_subdirectory( svnqt )
add_subdirectory( ksvnwidgets )
add_subdirectory( settings )
add_subdirectory( svnfrontend )
add_subdirectory( helpers )
add_subdirectory( tdesvnd )
add_subdirectory( kiosvn )
add_subdirectory( pics )
add_subdirectory( icons )