summaryrefslogtreecommitdiffstats
path: root/kiconedit
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-08 15:49:56 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-08 15:49:56 +0000
commit96411d66c8095128af871a82ba2895c61dab3281 (patch)
treec0cf5c800fd5b6e44c7bf9c05a9f197d8db1e525 /kiconedit
parent5c3f3c34c2f56660f935451776e76e552c7af305 (diff)
downloadtdegraphics-96411d66c8095128af871a82ba2895c61dab3281.tar.gz
tdegraphics-96411d66c8095128af871a82ba2895c61dab3281.zip
[kdegraphics] added cmake support for kgamma, kiconedit, and kmrml
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230898 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiconedit')
-rw-r--r--kiconedit/CMakeLists.txt42
-rw-r--r--kiconedit/pics/CMakeLists.txt15
-rw-r--r--kiconedit/pics/icons/CMakeLists.txt12
-rw-r--r--kiconedit/pics/toolbar/CMakeLists.txt20
4 files changed, 89 insertions, 0 deletions
diff --git a/kiconedit/CMakeLists.txt b/kiconedit/CMakeLists.txt
new file mode 100644
index 00000000..0724ce14
--- /dev/null
+++ b/kiconedit/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory ( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+#### other data #################################
+
+install( FILES kiconedit.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kiconeditui.rc DESTINATION ${DATA_INSTALL_DIR}/kiconedit )
+
+
+#### kiconedit (executable) #####################
+
+tde_add_executable( kiconedit AUTOMOC
+ SOURCES
+ utils.cpp main.cpp kiconedit.cpp kicongrid.cpp
+ kiconcolors.cpp kcolorgrid.cpp palettetoolbar.cpp
+ kicon.cpp kresize.cpp knew.cpp properties.cpp
+ kiconeditslots.cpp kiconconfig.cpp
+ LINK kio-shared kdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kiconedit/pics/CMakeLists.txt b/kiconedit/pics/CMakeLists.txt
new file mode 100644
index 00000000..0f0977fb
--- /dev/null
+++ b/kiconedit/pics/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( icons )
+add_subdirectory( toolbar )
+
+tde_install_icons( kiconedit )
diff --git a/kiconedit/pics/icons/CMakeLists.txt b/kiconedit/pics/icons/CMakeLists.txt
new file mode 100644
index 00000000..04aa1f5d
--- /dev/null
+++ b/kiconedit/pics/icons/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES source.png standard.png compressed.png DESTINATION ${DATA_INSTALL_DIR}/kiconedit/pics )
diff --git a/kiconedit/pics/toolbar/CMakeLists.txt b/kiconedit/pics/toolbar/CMakeLists.txt
new file mode 100644
index 00000000..8d44094b
--- /dev/null
+++ b/kiconedit/pics/toolbar/CMakeLists.txt
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2010-2011 Calvin Morrison
+# mutantturkey@gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ fileclose.png circle.png filledcircle.png line.png
+ paintbrush-cursor.xpm airbrush-cursor.xpm ellipse.png
+ filledellipse.png rectangle.png filledrectangle.png areaselect.png
+ selectrect.png selectcircle.png fill-cursor.xpm grid.png pointer.png
+ aim.png aim-cursor.xpm window_new.png grayscale.png kdepalette.png
+ transform.png eraser-cursor.xpm colorpicker-cursor.xpm
+ DESTINATION ${DATA_INSTALL_DIR}/kiconedit/pics
+)