Warning, /kdevelop/kdevelop/kdevplatform/vcs/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions(-DTRANSLATION_DOMAIN=\"kdevplatform\") 0002 0003 if(BUILD_TESTING) 0004 add_subdirectory(tests) 0005 add_subdirectory(dvcs/tests) 0006 add_subdirectory(models/tests) 0007 endif() 0008 0009 set(KDevPlatformVcs_UIS 0010 widgets/vcscommitdialog.ui 0011 widgets/vcseventwidget.ui 0012 widgets/vcsdiffwidget.ui 0013 dvcs/ui/dvcsimportmetadatawidget.ui 0014 dvcs/ui/branchmanager.ui 0015 ) 0016 0017 set(KDevPlatformVcs_LIB_SRCS 0018 vcsjob.cpp 0019 vcsrevision.cpp 0020 vcsannotation.cpp 0021 vcspluginhelper.cpp 0022 vcslocation.cpp 0023 vcsdiff.cpp 0024 vcsevent.cpp 0025 vcsstatusinfo.cpp 0026 widgets/vcsannotationitemdelegate.cpp 0027 widgets/vcsimportmetadatawidget.cpp 0028 widgets/vcseventwidget.cpp 0029 widgets/vcsdiffwidget.cpp 0030 widgets/vcscommitdialog.cpp 0031 widgets/vcsdiffpatchsources.cpp 0032 widgets/vcslocationwidget.cpp 0033 widgets/standardvcslocationwidget.cpp 0034 models/vcsannotationmodel.cpp 0035 models/vcseventmodel.cpp 0036 models/vcsfilechangesmodel.cpp 0037 models/vcsitemeventmodel.cpp 0038 models/brancheslistmodel.cpp 0039 dvcs/dvcsjob.cpp 0040 dvcs/dvcsplugin.cpp 0041 dvcs/dvcsevent.cpp 0042 dvcs/ui/dvcsimportmetadatawidget.cpp 0043 dvcs/ui/branchmanager.cpp 0044 interfaces/ibasicversioncontrol.cpp 0045 interfaces/icontentawareversioncontrol.cpp 0046 interfaces/ipatchdocument.cpp 0047 interfaces/ipatchsource.cpp 0048 ) 0049 0050 declare_qt_logging_category(KDevPlatformVcs_LIB_SRCS 0051 TYPE LIBRARY 0052 CATEGORY_BASENAME "vcs" 0053 ) 0054 0055 ki18n_wrap_ui(KDevPlatformVcs_LIB_SRCS ${KDevPlatformVcs_UIS}) 0056 kdevplatform_add_library(KDevPlatformVcs SOURCES ${KDevPlatformVcs_LIB_SRCS}) 0057 target_link_libraries(KDevPlatformVcs 0058 PUBLIC 0059 KDev::OutputView 0060 KDev::Interfaces 0061 PRIVATE 0062 KDev::Util 0063 KF5::KIOWidgets 0064 KF5::Parts 0065 ) 0066 0067 install(FILES 0068 vcsjob.h 0069 vcsrevision.h 0070 vcsannotation.h 0071 vcsdiff.h 0072 vcspluginhelper.h 0073 vcsevent.h 0074 vcsstatusinfo.h 0075 vcslocation.h 0076 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/vcs COMPONENT Devel 0077 ) 0078 0079 install(FILES 0080 widgets/vcsimportmetadatawidget.h 0081 widgets/vcseventwidget.h 0082 widgets/vcsdiffwidget.h 0083 widgets/vcscommitdialog.h 0084 widgets/vcslocationwidget.h 0085 widgets/standardvcslocationwidget.h 0086 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/vcs/widgets COMPONENT Devel 0087 ) 0088 0089 0090 install(FILES 0091 models/vcsannotationmodel.h 0092 models/vcseventmodel.h 0093 models/vcsfilechangesmodel.h 0094 models/vcsitemeventmodel.h 0095 models/brancheslistmodel.h 0096 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/vcs/models COMPONENT Devel 0097 ) 0098 0099 install(FILES 0100 interfaces/ibasicversioncontrol.h 0101 interfaces/icentralizedversioncontrol.h 0102 interfaces/idistributedversioncontrol.h 0103 interfaces/ibranchingversioncontrol.h 0104 interfaces/ibrowsableversioncontrol.h 0105 interfaces/irepositoryversioncontrol.h 0106 interfaces/ipatchdocument.h 0107 interfaces/ipatchsource.h 0108 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/vcs/interfaces COMPONENT Devel 0109 ) 0110 0111 install(FILES 0112 dvcs/dvcsjob.h 0113 dvcs/dvcsplugin.h 0114 dvcs/dvcsevent.h 0115 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/vcs/dvcs COMPONENT Devel 0116 ) 0117 0118 install(FILES 0119 dvcs/ui/dvcsimportmetadatawidget.h 0120 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/vcs/dvcs/ui COMPONENT Devel 0121 )