summaryrefslogtreecommitdiffstats
path: root/kcoloredit
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:03:48 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:03:48 +0000
commit0f962a277e58ccb2c6d9ee36ce68966db9b071cc (patch)
treee5341e2fcac3338daf25796bc20ae8c16307673e /kcoloredit
parent19158a8de8416c95f7c961e107c475dd786f6449 (diff)
downloadtdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.tar.gz
tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.zip
[kdegraphics] cmake support for kamera, kcoloredit, and kviewshell
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230743 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcoloredit')
-rw-r--r--kcoloredit/CMakeLists.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/kcoloredit/CMakeLists.txt b/kcoloredit/CMakeLists.txt
new file mode 100644
index 00000000..93fc29f3
--- /dev/null
+++ b/kcoloredit/CMakeLists.txt
@@ -0,0 +1,57 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@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 #################################
+
+tde_install_icons( kcoloredit kcolorchooser )
+
+install( FILES
+ kcoloredit.desktop kcolorchooser.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kcoloreditui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kcoloredit )
+
+
+#### kcoloredit (executable) ####################
+
+tde_add_executable( kcoloredit AUTOMOC
+ SOURCES
+ kzcolorselector.cpp imageselection.cpp
+ texteditselection.cpp gradientselection.cpp colorselector.cpp
+ kxycolorselector.cpp paletteview.cpp paletteviewscrolledarea.cpp
+ editablestreamhistory.cpp color.cpp palette.cpp loadpalettedlg.cpp
+ kcoloreditview.cpp kcoloreditdoc.cpp kcoloredit.cpp main.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kcolorchooser (executable) ################
+
+tde_add_executable( kcolorchooser AUTOMOC
+ SOURCES kcolorchooser.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)