summaryrefslogtreecommitdiffstats
path: root/src/ksvnwidgets/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/ksvnwidgets/CMakeLists.txt')
-rw-r--r--src/ksvnwidgets/CMakeLists.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/ksvnwidgets/CMakeLists.txt b/src/ksvnwidgets/CMakeLists.txt
new file mode 100644
index 0000000..2446aa1
--- /dev/null
+++ b/src/ksvnwidgets/CMakeLists.txt
@@ -0,0 +1,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)