summaryrefslogtreecommitdiffstats
path: root/vcs/cvsservice
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
commitcf21ddc3cce570e574364e841758b59c0f8e8e04 (patch)
tree9f79e4569bb2991b4de8c25dd23795126ac0914c /vcs/cvsservice
parentf9c30e41d26594598abaa8315c4488b6c5ff38ea (diff)
downloadtdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.tar.gz
tdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.zip
[kdevelop] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216516 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/cvsservice')
-rw-r--r--vcs/cvsservice/CMakeLists.txt63
-rw-r--r--vcs/cvsservice/integrator/CMakeLists.txt46
2 files changed, 109 insertions, 0 deletions
diff --git a/vcs/cvsservice/CMakeLists.txt b/vcs/cvsservice/CMakeLists.txt
new file mode 100644
index 00000000..a924f251
--- /dev/null
+++ b/vcs/cvsservice/CMakeLists.txt
@@ -0,0 +1,63 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_message_fatal( "csvservice is not done yet" )
+
+add_subdirectory( integrator )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ #${CMAKE_CURRENT_SOURCE_DIR}
+ #${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ #${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ #${CMAKE_SOURCE_DIR}/lib/interfaces/extras
+ ${CMAKE_SOURCE_DIR}/lib/util
+ #${CMAKE_SOURCE_DIR}
+ #${CMAKE_SOURCE_DIR}
+ #${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES kdevcvsservice.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdev_cvs.png DESTINATION ${DATA_INSTALL_DIR}/kdevcvsservice/pics )
+install( FILES buildcvs.sh DESTINATION ${DATA_INSTALL_DIR}/kdevcvsservice )
+
+
+##### libkdevcvsservice (module) ################
+
+tde_add_kpart( libkdevcvsservice AUTOMOC
+ SOURCES
+ cvspart.cpp cvspartimpl.cpp cvsformbase.ui cvsform.cpp
+ commitdialogbase.ui commitdlg.cpp cvsoptionswidgetbase.ui
+ cvsoptionswidget.cpp cvsprocesswidget.cpp
+ cvsentry.cpp cvsdir.cpp changelog.cpp cvsoptions.cpp
+ checkoutdialogbase.ui checkoutdialog.cpp tagdialog.cpp
+ tagdialogbase.ui diffdialogbase.ui diffdialog.cpp
+ releaseinputdialogbase.ui releaseinputdialog.cpp
+ cvslogdialog.cpp cvslogpage.cpp cvsdiffpage.cpp
+ diffwidget.cpp jobscheduler.cpp bufferedstringreader.cpp
+ cvsfileinfoprovider.cpp cvsservicedcopIface.skel
+ editorsdialogbase.ui editorsdialog.cpp annotatedialog.cpp
+ annotatepage.cpp annotateview.cpp
+ LINK kdevwidgets-shared kdevextensions-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/vcs/cvsservice/integrator/CMakeLists.txt b/vcs/cvsservice/integrator/CMakeLists.txt
new file mode 100644
index 00000000..cd8366b0
--- /dev/null
+++ b/vcs/cvsservice/integrator/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ #${CMAKE_CURRENT_SOURCE_DIR}
+ #${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ #${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ #${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extras
+ #${CMAKE_SOURCE_DIR}/lib/util
+ #${CMAKE_SOURCE_DIR}
+ #${CMAKE_SOURCE_DIR}
+ #${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevcvsserviceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libcvsserviceintegrator (module) ##########
+
+tde_add_kpart( libcvsserviceintegrator AUTOMOC
+ SOURCES
+ cvsserviceintegrator.cpp integratordlgbase.ui
+ fetcherdlgbase.ui integratordlg.cpp initdlg.ui
+ LINK
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)