summaryrefslogtreecommitdiffstats
path: root/kpdf/shell/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/shell/CMakeLists.txt')
-rw-r--r--kpdf/shell/CMakeLists.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/kpdf/shell/CMakeLists.txt b/kpdf/shell/CMakeLists.txt
new file mode 100644
index 00000000..59f84caa
--- /dev/null
+++ b/kpdf/shell/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kpdf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES shell.rc DESTINATION ${DATA_INSTALL_DIR}/kpdf )
+
+
+##### kpdf (executable) #########################
+
+tde_add_executable( kpdf AUTOMOC
+ SOURCES main.cpp shell.cpp
+ LINK kparts-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)