summaryrefslogtreecommitdiffstats
path: root/vcs/perforce
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/perforce')
-rw-r--r--vcs/perforce/CMakeLists.txt39
-rw-r--r--vcs/perforce/integrator/CMakeLists.txt40
2 files changed, 79 insertions, 0 deletions
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}
+)