summaryrefslogtreecommitdiffstats
path: root/kdgantt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-11 20:10:09 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-11 20:10:09 +0000
commit0d7351b5312d68b66f0481fe22b066a60c05a23a (patch)
tree883528313a6bdfc4b9a0d57ceb4db7e1ba3cf419 /kdgantt
parentc1edef47add41611781ac9190d2b2bc8560c5a01 (diff)
downloadtdepim-0d7351b5312d68b66f0481fe22b066a60c05a23a.tar.gz
tdepim-0d7351b5312d68b66f0481fe22b066a60c05a23a.zip
[trinity/kdepim] initial cmake support for korganizer & dependencies
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1224515 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt')
-rw-r--r--kdgantt/CMakeLists.txt29
-rw-r--r--kdgantt/KDGanttMinimizeSplitter.cpp1
2 files changed, 30 insertions, 0 deletions
diff --git a/kdgantt/CMakeLists.txt b/kdgantt/CMakeLists.txt
new file mode 100644
index 000000000..7ebe0a260
--- /dev/null
+++ b/kdgantt/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kdgantt (static) ##########################
+
+tde_add_library( kdgantt STATIC_PIC AUTOMOC
+ SOURCES
+ KDGanttView.cpp KDGanttViewEventItem.cpp KDGanttViewItem.cpp
+ KDGanttViewItemDrag.cpp KDGanttViewSubwidgets.cpp KDGanttViewSummaryItem.cpp
+ KDGanttViewTaskItem.cpp KDGanttViewTaskLink.cpp KDGanttViewTaskLinkGroup.cpp
+ KDGanttMinimizeSplitter.cpp KDGanttSemiSizingControl.cpp
+ KDGanttSizingControl.cpp KDGanttXMLTools.cpp itemAttributeDialog.ui
+)
diff --git a/kdgantt/KDGanttMinimizeSplitter.cpp b/kdgantt/KDGanttMinimizeSplitter.cpp
index 79d7e18d3..7f2df6e81 100644
--- a/kdgantt/KDGanttMinimizeSplitter.cpp
+++ b/kdgantt/KDGanttMinimizeSplitter.cpp
@@ -46,6 +46,7 @@
#define TQPtrList QList
#define TQMemArray QArray
#endif
+#include "tqlayout.h"
#include "tqlayoutengine_p.h"
#include "tqobjectlist.h"
#include "tqstyle.h"