summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2024-12-15Rename repository to `graphics-inkscape`testsxengineering
The old name `art-inkscape` is a bit too strict.
2024-11-28icons: Change CMake target formatxengineering
The new format is now `icon-{format}-{name}`. This makes it consistent with the nesting in the build folder.
2024-11-28icons: Use globbing to auto-register icons to CMakexengineering
Adding new icons now only requires adding an SVG file to the icons directory. The icon name does not have to be added to the CMakeLists.txt file.
2024-11-28Handle convert to magick transition correctlyxengineering
ImageMagick version 7 deprecated the `convert` command. Using it will trigger warnings on distributions with a recent version of it like e.g. Arch Linux. On other distributions (e.g. Debian) the new `magick` command is not available since ImageMagick version 6 is currently used. CMake can handle this by choosing `magick` if present and `convert` if not. This is done by this commit.
2024-11-28Add support for *.ico formatxengineering
This is intended to be used for website favicons. This commit embeds the image only in one size while the ico format can handle multiple of them.
2024-11-28Add folder per file type in build directoryxengineering
The intended hierarchy for the build tree is: 1. Art type (icon or something different) 2. File type (pdf, svg, png) 3. Dimensions (based on pixels or mm) [not yet implemented]
2024-11-28Refactor CMakeLists.txtxengineering
There was some code duplication which is now removed.
2024-11-28Drop JPEG supportxengineering
This is done because of three reasons: - CMake code is simplified - `ImageMagick` dependency is not needed anymore - PNG in contrast to JPEG only uses lossless compression [1] - PNG in contrast to JPEG can store transparent pixels [1] - build time is reduced (not yet relevant but will be) [1]: https://www.adobe.com/creativecloud/file-types/image/comparison/jpeg-vs-png.html
2024-11-28Switch to dual-licensing with CC BY-SA and MPL 2.0xengineering
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.
2024-11-24icons: Implement PDF export with CMakexengineering
2024-11-24cmake: Add minimal CMakeLists.txt starting pointxengineering
This specifies the minimal CMake version and defines the project name. Furthermore C and CXX language support is disabled since this is not needed here.