summaryrefslogtreecommitdiffstats
path: root/src/ksvnwidgets/CMakeLists.txt
blob: 2446aa106b8f67ae2f7af7a2c809419d6883bec6 (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
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR}/src/svnqt)

KDE3_ADD_UI_FILES(
    kdesvn_shared_ui
    logmessage.ui
    ssltrustprompt.ui
    authdlg.ui
    encodingselector.ui
    depthform.ui
    revertform.ui
)

SET(ksvnwidgetsrc
    authdialogimpl.cpp
    logmsg_impl.cpp
    ssltrustprompt_impl.cpp
    pwstorage.cpp
    diffbrowser.cpp
    diffbrowserdata.cpp
    diffsyntax.cpp
    encodingselector_impl.cpp
    depthselector.cpp
    revertform_impl.cpp
    )

SET(ksvnwidgethdr
    authdialogimpl.h
    logmsg_impl.h
    ssltrustprompt_impl.h
    pwstorage.h
    diffbrowser.h
    diffbrowserdata.h
    diffsyntax.h
    encodingselector_impl.h
    depthselector.h
    revertform_impl.h
)

KDE3_AUTOMOC(${ksvnwidgetsrc})

ADD_LIBRARY(ksvnwidgets STATIC ${ksvnwidgetsrc} ${kdesvn_shared_ui} ${ksvnwidgethdr})
SET_TARGET_PROPERTIES(ksvnwidgets
    PROPERTIES
    COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})

ADD_DEPENDENCIES(ksvnwidgets kdesvncfgreader)