summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-07 20:36:33 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-07 20:36:33 +0000
commitc572894c740081d5109fc6b3d01514d07204d34c (patch)
treeb925bee7749a3fcdf68ea4d0411cfbe413ecb799 /src/CMakeLists.txt
parent19954ea994a4e7830d6c77cf961341ec00d5c500 (diff)
downloaddolphin-c572894c740081d5109fc6b3d01514d07204d34c.tar.gz
dolphin-c572894c740081d5109fc6b3d01514d07204d34c.zip
[applications/dolphin] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1224085 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..c0748eb
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,64 @@
+#################################################
+#
+# (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( pics )
+add_subdirectory( servicemenus )
+
+tde_import( libkonq )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ #${CMAKE_SOURCE_DIR}
+ #${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES d3lphin.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES d3lphinui.rc DESTINATION ${DATA_INSTALL_DIR}/d3lphin )
+
+
+##### d3lphin (executable) ######################
+
+tde_add_executable( d3lphin AUTOMOC
+ SOURCES
+ bookmarkselector.cpp bookmarkssettingspage.cpp
+ bookmarkssidebarpage.cpp
+ detailsviewsettingspage.cpp dolphin.cpp
+ dolphincontextmenu.cpp dolphindetailsview.cpp
+ dolphindetailsviewsettings.cpp
+ dolphindirlister.cpp dolphiniconsview.cpp
+ dolphiniconsviewsettings.cpp dolphinsettings.cpp
+ dolphinsettingsbase.cpp dolphinsettingsdialog.cpp
+ dolphinstatusbar.cpp dolphinview.cpp
+ editbookmarkdialog.cpp filterbar.cpp
+ generalsettingspage.cpp iconsviewsettingspage.cpp
+ infosidebarpage.cpp itemeffectsmanager.cpp
+ main.cpp pixmapviewer.cpp progressindicator.cpp
+ renamedialog.cpp settingspagebase.cpp
+ sidebarpage.cpp sidebars.cpp sidebarssettings.cpp
+ statusbarmessagelabel.cpp statusbarspaceinfo.cpp
+ undomanager.cpp urlbutton.cpp urlnavigator.cpp
+ urlnavigatorbutton.cpp viewproperties.cpp
+ viewpropertiesdialog.cpp viewsettingspage.cpp
+ LINK konq-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)