From a4532ea3228036feeb4dcee4d289777044d920d3 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Wed, 14 Jun 2023 12:29:12 +0200 Subject: Add some enlightening comments --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a09368b..eef37f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,7 @@ if (CONVERT_EXECUTABLE AND NOT WIN32) set (icon_svg ${icon_base}/scalable/apps/logdiag.svg) set (icon_size_list 16x16 32x32 48x48) + # ImageMagick very oddly outperforms rsvg-convert with our specific SVG set (icon_png_list) set (icon_symbolic_list) foreach (icon_size ${icon_size_list}) @@ -59,6 +60,8 @@ if (CONVERT_EXECUTABLE AND NOT WIN32) PROPERTIES SYMBOLIC TRUE) endforeach () + # Symbolic targets prevent the icons from being either cleaned, + # or pointlessly regenerated slightly differently set (icon_ico ${PROJECT_SOURCE_DIR}/share/logdiag.ico) add_custom_target (${PROJECT_NAME}_icons DEPENDS ${icon_symbolic_list} -- cgit v1.2.3-70-g09d2