summaryrefslogtreecommitdiffstats
path: root/kiconedit
diff options
context:
space:
mode:
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
+)