summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/CMakeLists.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
new file mode 100644
index 0000000..4fc06d9
--- /dev/null
+++ b/src/app/CMakeLists.txt
@@ -0,0 +1,56 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### libgwenshared (static)
+
+tde_add_library( gwenshared STATIC_PIC AUTOMOC
+ SOURCES vtabwidget.cpp
+)
+
+
+##### gwenview (shared)
+
+set( gwenview_SRCS
+ bookmarkowner.cpp
+ bookmarkviewcontroller.cpp
+ bookmarkdialogbase.ui
+ bookmarkdialog.cpp
+ configfileoperationspage.ui
+ configfullscreenpage.ui
+ configimagelistpage.ui
+ configimageviewpage.ui
+ configmiscpage.ui
+ configslideshowpage.ui
+ kipiinterface.cpp
+ mainwindow.cpp
+ metaedit.cpp
+ treeview.cpp
+ dirviewcontroller.cpp
+ configdialog.cpp
+ history.cpp
+ main.cpp
+)
+
+tde_add_tdeinit_executable( gwenview AUTOMOC
+ SOURCES ${gwenview_SRCS}
+ LINK
+ gwenshared-static gwenviewcore-shared
+ tdeutils-shared ${LIBKIPI_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/trinity
+)
+
+
+##### other files
+
+install(
+ FILES gwenviewui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/gwenview
+)
+
+install(
+ FILES gwenview.xpm
+ DESTINATION ${SHARE_INSTALL_PREFIX}/pixmaps
+)