From 96411d66c8095128af871a82ba2895c61dab3281 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 8 May 2011 15:49:56 +0000 Subject: [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 --- kiconedit/CMakeLists.txt | 42 +++++++++++++++++++++++++++++++++++ kiconedit/pics/CMakeLists.txt | 15 +++++++++++++ kiconedit/pics/icons/CMakeLists.txt | 12 ++++++++++ kiconedit/pics/toolbar/CMakeLists.txt | 20 +++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 kiconedit/CMakeLists.txt create mode 100644 kiconedit/pics/CMakeLists.txt create mode 100644 kiconedit/pics/icons/CMakeLists.txt create mode 100644 kiconedit/pics/toolbar/CMakeLists.txt (limited to 'kiconedit') 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 +) -- cgit v1.2.1