summaryrefslogtreecommitdiffstats
path: root/kfax
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-07 20:40:46 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-07 20:40:46 +0000
commit76baa6e505aa4e0d404a2b81addcc3f2599075fe (patch)
tree8684ca2e01e57d4df075b19387bb77dea01733a7 /kfax
parent7e5679fbd107db459c18b567e30846a9982dfa94 (diff)
downloadtdegraphics-76baa6e505aa4e0d404a2b81addcc3f2599075fe.tar.gz
tdegraphics-76baa6e505aa4e0d404a2b81addcc3f2599075fe.zip
[kdegraphics] added cmake support for kfax, kfaxview, kghostview, and kfile-plugins
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230814 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfax')
-rw-r--r--kfax/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/kfax/CMakeLists.txt b/kfax/CMakeLists.txt
new file mode 100644
index 00000000..ef71229f
--- /dev/null
+++ b/kfax/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+#
+# 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 kfax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kfax.tif kfaxlogo.xpm DESTINATION ${DATA_INSTALL_DIR}/kfax/pics )
+install( FILES kfaxui.rc DESTINATION ${DATA_INSTALL_DIR}/kfax )
+
+
+#### kruler (executable) ########################
+
+tde_add_executable( kfax AUTOMOC
+ SOURCES
+ options.cpp kfax.cpp faxexpand.cpp faxinit.cpp
+ faxinput.cpp viewfax.cpp kfax_printsettings.cpp
+ LINK kdeui-shared kdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)