diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-11 20:10:09 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-11 20:10:09 +0000 |
commit | 0d7351b5312d68b66f0481fe22b066a60c05a23a (patch) | |
tree | 883528313a6bdfc4b9a0d57ceb4db7e1ba3cf419 /kgantt | |
parent | c1edef47add41611781ac9190d2b2bc8560c5a01 (diff) | |
download | tdepim-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 'kgantt')
-rw-r--r-- | kgantt/CMakeLists.txt | 17 | ||||
-rw-r--r-- | kgantt/kgantt/CMakeLists.txt | 42 | ||||
-rw-r--r-- | kgantt/pixmaps/CMakeLists.txt | 12 |
3 files changed, 71 insertions, 0 deletions
diff --git a/kgantt/CMakeLists.txt b/kgantt/CMakeLists.txt new file mode 100644 index 000000000..0755af3b8 --- /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 000000000..371a9fe02 --- /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 000000000..87ab8bcd4 --- /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 ) |