From 8a8d8af76578970651738ccd6d141333a82ca9d0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 28 Nov 2024 19:42:35 +0100 Subject: Switch to dual-licensing with CC BY-SA and MPL 2.0 This repository mixes art and code. Since it is hard to find a suitable license for both dual-licensing is an obvious choice to fix that problem. --- icons/CMakeLists.txt | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 icons/CMakeLists.txt (limited to 'icons/CMakeLists.txt') diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt deleted file mode 100644 index 16ee68c..0000000 --- a/icons/CMakeLists.txt +++ /dev/null @@ -1,46 +0,0 @@ -set(icons - example -) - -set(formats - pdf - svg - png - jpg -) - -foreach(icon ${icons}) - foreach(format ${formats}) - if(format STREQUAL jpg) - add_custom_command( - OUTPUT - ${CMAKE_CURRENT_BINARY_DIR}/${icon}.${format} - COMMAND - magick - ${CMAKE_CURRENT_BINARY_DIR}/${icon}.png - ${CMAKE_CURRENT_BINARY_DIR}/${icon}.${format} - DEPENDS - ${CMAKE_CURRENT_BINARY_DIR}/${icon}.png - ) - else() - add_custom_command( - OUTPUT - ${CMAKE_CURRENT_BINARY_DIR}/${icon}.${format} - COMMAND - SELF_CALL=xxx # https://gitlab.com/inkscape/inkscape/-/issues/4716 - inkscape - --export-type=${format} - --export-filename=${CMAKE_CURRENT_BINARY_DIR}/${icon}.${format} - ${CMAKE_CURRENT_SOURCE_DIR}/${icon}.svg - DEPENDS - ${CMAKE_CURRENT_SOURCE_DIR}/${icon}.svg - ) - endif() - add_custom_target( - "icon-${icon}-${format}" - ALL - DEPENDS - ${CMAKE_CURRENT_BINARY_DIR}/${icon}.${format} - ) - endforeach() -endforeach() -- cgit v1.2.3-70-g09d2