diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
commit | cf21ddc3cce570e574364e841758b59c0f8e8e04 (patch) | |
tree | 9f79e4569bb2991b4de8c25dd23795126ac0914c /vcs | |
parent | f9c30e41d26594598abaa8315c4488b6c5ff38ea (diff) | |
download | tdevelop-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')
-rw-r--r-- | vcs/CMakeLists.txt | 15 | ||||
-rw-r--r-- | vcs/clearcase/CMakeLists.txt | 41 | ||||
-rw-r--r-- | vcs/clearcase/integrator/CMakeLists.txt | 40 | ||||
-rw-r--r-- | vcs/cvsservice/CMakeLists.txt | 63 | ||||
-rw-r--r-- | vcs/cvsservice/integrator/CMakeLists.txt | 46 | ||||
-rw-r--r-- | vcs/perforce/CMakeLists.txt | 39 | ||||
-rw-r--r-- | vcs/perforce/integrator/CMakeLists.txt | 40 | ||||
-rw-r--r-- | vcs/subversion/CMakeLists.txt | 80 | ||||
-rw-r--r-- | vcs/subversion/integrator/CMakeLists.txt | 40 |
9 files changed, 404 insertions, 0 deletions
diff --git a/vcs/CMakeLists.txt b/vcs/CMakeLists.txt new file mode 100644 index 00000000..8ec61b98 --- /dev/null +++ b/vcs/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_conditional_add_subdirectory( WITH_VCS_CLEARCASE clearcase ) +tde_conditional_add_subdirectory( WITH_VCS_CVSSERVICE cvsservice ) +tde_conditional_add_subdirectory( WITH_VCS_PERFORCE perforce ) +tde_conditional_add_subdirectory( WITH_VCS_SUBVERSION subversion ) diff --git a/vcs/clearcase/CMakeLists.txt b/vcs/clearcase/CMakeLists.txt new file mode 100644 index 00000000..8b6ae246 --- /dev/null +++ b/vcs/clearcase/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( integrator ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevclearcase.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevclearcase (module) ################# + +tde_add_kpart( libkdevclearcase AUTOMOC + SOURCES + clearcasepart.cpp commentdlg.cpp + clearcasefileinfoprovider.cpp clearcasemanipulator.cpp + LINK kdevextensions-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/clearcase/integrator/CMakeLists.txt b/vcs/clearcase/integrator/CMakeLists.txt new file mode 100644 index 00000000..bff7ebb3 --- /dev/null +++ b/vcs/clearcase/integrator/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (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_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevclearcaseintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libclearcaseintegrator (module) ########### + +tde_add_kpart( libclearcaseintegrator AUTOMOC + SOURCES + clearcaseintegrator.cpp ccintegratordlgbase.ui + ccintegratordlg.cpp + LINK kdevextras-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) 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} +) diff --git a/vcs/perforce/CMakeLists.txt b/vcs/perforce/CMakeLists.txt new file mode 100644 index 00000000..d7b514a0 --- /dev/null +++ b/vcs/perforce/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( integrator ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevperforce.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libkdevperforce (module) ################## + +tde_add_kpart( libkdevperforce AUTOMOC + SOURCES perforcepart.cpp commitdlg.cpp + LINK kdevextensions-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/perforce/integrator/CMakeLists.txt b/vcs/perforce/integrator/CMakeLists.txt new file mode 100644 index 00000000..cd8fd0ee --- /dev/null +++ b/vcs/perforce/integrator/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (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_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevperforceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libperforceintegrator (module) ############ + +tde_add_kpart( libperforceintegrator AUTOMOC + SOURCES + perforceintegrator.cpp pfintegratordlgbase.ui + pfintegratordlg.cpp + LINK kdevextras-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/subversion/CMakeLists.txt b/vcs/subversion/CMakeLists.txt new file mode 100644 index 00000000..0bd3bf76 --- /dev/null +++ b/vcs/subversion/CMakeLists.txt @@ -0,0 +1,80 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +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/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${APR_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdevsubversion.desktop kdevsvn+file.protocol + kdevsvn+http.protocol kdevsvn+https.protocol + kdevsvn+ssh.protocol kdevsvn+svn.protocol + DESTINATION ${SERVICES_INSTALL_DIR} ) + +install( FILES + kdevsvnd.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kded ) + + +##### libkdevsubversion (module) ################ + +tde_add_kpart( libkdevsubversion AUTOMOC + SOURCES + subversion_core.cpp subversion_fileinfo.cpp + subversion_fileinfo.skel subversion_part.cpp + subversion_widget.cpp subversiondiff.ui + subversionprojectwidget.ui svn_blamewidget.cpp + svn_co.ui svn_commitdlgbase.ui svn_copydlgwidget.ui + svn_copywidget.cpp svn_fileselectdlg_commit.cpp + svn_logviewoptiondlgbase.ui svn_logviewwidget.cpp + svn_mergeoptiondlgbase.ui svn_mergewidget.cpp + svn_switchdlgbase.ui svn_switchwidget.cpp + LINK kdevextensions-static kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kio_kdevsvn (module) ###################### + +tde_add_kpart( kio_kdevsvn AUTOMOC + SOURCES + svn_kio.cpp + LINK kio-shared ${SVN_LIBRARIES} ${APR_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kded_kdevsvnd (module) #################### + +tde_add_kpart( kded_kdevsvnd AUTOMOC + SOURCES + commitdlg.cpp commitdlgbase.ui kdevsvnd.cpp kdevsvnd.skel + kdevsvnd_widgets.cpp svnssltrustpromptbase.ui + LINK kio-shared kdeinit_kded-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/vcs/subversion/integrator/CMakeLists.txt b/vcs/subversion/integrator/CMakeLists.txt new file mode 100644 index 00000000..4d1ab517 --- /dev/null +++ b/vcs/subversion/integrator/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (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_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/extras + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevsubversionintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libsubversionintegrator (module) ########## + +tde_add_kpart( libsubversionintegrator AUTOMOC + SOURCES + subversionintegrator.cpp svnintegratordlgbase.ui + svnintegratordlg.cpp + LINK kdevextras-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |