summaryrefslogtreecommitdiffstats
path: root/src/kiosvn/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/kiosvn/CMakeLists.txt')
-rw-r--r--src/kiosvn/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/kiosvn/CMakeLists.txt b/src/kiosvn/CMakeLists.txt
new file mode 100644
index 0000000..5cce1af
--- /dev/null
+++ b/src/kiosvn/CMakeLists.txt
@@ -0,0 +1,26 @@
+INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src/svnqt
+${CMAKE_BINARY_DIR}/src/ksvnwidgets)
+
+SET(kiosvn_src kiosvn.cpp kiolistener.cpp kiobytestream.cpp ../ksvnwidgets/pwstorage.cpp)
+FILE(GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
+
+KDE3_ADD_KPART(kio_ksvn ${kiosvn_src} ${hdr})
+
+TARGET_LINK_LIBRARIES(kio_ksvn
+ svnqt
+ kdesvnhelpers
+ kdesvncfgreader
+ ${QT_AND_KDECORE_LIBS}
+ ${KDE3_UI_LIBRARY} ${KDE3_DCOP_LIBRARY} ${KDE3_KIO_LIBRARY} ${KDE3_WALLET_LIBRARY})
+
+SET_TARGET_PROPERTIES(kio_ksvn
+ PROPERTIES
+ LINK_FLAG "${LINK_NO_UNDEFINED} ${_BASE_LDADD}")
+
+INSTALL(TARGETS kio_ksvn
+ LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR})
+
+FILE(GLOB PROTFILES *.protocol)
+
+INSTALL(FILES ${PROTFILES}
+ DESTINATION ${SERVICES_INSTALL_DIR})