summaryrefslogtreecommitdiffstats
path: root/kdeprint/kdeprint_part
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/kdeprint_part')
-rw-r--r--kdeprint/kdeprint_part/CMakeLists.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/kdeprint/kdeprint_part/CMakeLists.txt b/kdeprint/kdeprint_part/CMakeLists.txt
new file mode 100644
index 000000000..8aa740d6f
--- /dev/null
+++ b/kdeprint/kdeprint_part/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -D_KDEPRINT_COMPILE )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdeprint_part.rc DESTINATION ${DATA_INSTALL_DIR}/kdeprint_part )
+install( FILES kdeprint_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdeprint_part (module) #################
+
+tde_add_kpart( libkdeprint_part AUTOMOC
+ SOURCES printpart.cpp
+ LINK kdeprint_management-shared kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)