Add cmake build support for recreating icons and cursors.
If enabled with cmake command line option BUILD_ICONS and/or BUILD_CURSOR_ICONS icons and cursor bitmaps are rendered from svg sources by a qt helper application named svg2png automatically on building umbrello. Cursor bitmaps are combination of a cursor template svg file and regular umbrello icons. The cursor template svg file is added by this patch too. For debugging purpose the additional cmake variable BUILD_ICONS_INTO_SIZE_RELATED_DIRS is available. BUG:361964 Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Showing
- .gitignore 0 additions, 1 deletion.gitignore
- CMakeLists.txt 13 additions, 2 deletionsCMakeLists.txt
- cmake/modules/Macros.cmake 71 additions, 0 deletionscmake/modules/Macros.cmake
- maintainer/CMakeLists.txt 7 additions, 0 deletionsmaintainer/CMakeLists.txt
- maintainer/svg2png.cpp 102 additions, 0 deletionsmaintainer/svg2png.cpp
- umbrello/CMakeLists.txt 2 additions, 1 deletionumbrello/CMakeLists.txt
- umbrello/pics/CMakeLists.txt 219 additions, 51 deletionsumbrello/pics/CMakeLists.txt
- umbrello/pics/sources/cursor-template.svg 482 additions, 0 deletionsumbrello/pics/sources/cursor-template.svg
Loading
Please register or sign in to comment