summaryrefslogtreecommitdiffstats
path: root/kgantt
diff options
context:
space:
mode:
Diffstat (limited to 'kgantt')
-rw-r--r--kgantt/CMakeLists.txt17
-rw-r--r--kgantt/kgantt/CMakeLists.txt42
-rw-r--r--kgantt/pixmaps/CMakeLists.txt12
3 files changed, 71 insertions, 0 deletions
diff --git a/kgantt/CMakeLists.txt b/kgantt/CMakeLists.txt
new file mode 100644
index 00000000..0755af3b
--- /dev/null
+++ b/kgantt/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( kgantt )
+
+add_subdirectory( kgantt )
+add_subdirectory( pixmaps )
+
+tde_install_export( )
diff --git a/kgantt/kgantt/CMakeLists.txt b/kgantt/kgantt/CMakeLists.txt
new file mode 100644
index 00000000..371a9fe0
--- /dev/null
+++ b/kgantt/kgantt/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (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}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ KGantt.h KGanttItem.h KGanttRelation.h xQGanttBarView.h xQGanttBarViewPort.h
+ xQGanttListView.h xQGanttListViewPort.h KGanttBarConfig.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kgantt )
+
+
+##### kgantt (shared) ###########################
+
+tde_add_library( kgantt SHARED AUTOMOC
+ SOURCES
+ KGantt.cpp xQGanttBarViewPort.cpp xQGanttListViewPort.cpp KGanttItem.cpp
+ KGanttRelation.cpp xQGanttBarViewPort_Events.cpp xQGanttBarView.cpp
+ xQGanttListView.cpp KGanttBarConfig.cpp
+ VERSION 0.0.2
+ LINK kdeui-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kgantt/pixmaps/CMakeLists.txt b/kgantt/pixmaps/CMakeLists.txt
new file mode 100644
index 00000000..87ab8bcd
--- /dev/null
+++ b/kgantt/pixmaps/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kgantt/icons )