Martchus / cpp-utilities

Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
GNU General Public License v2.0
52 stars 18 forks source link

Add icons (*.icns) for Mac OS X/macOS .app bundles #14

Closed yan12125 closed 5 years ago

yan12125 commented 5 years ago

Although the icon may be hidden from Dock and Command+Tab application switcher (e.g., syncthingtray), it still appears in Launchpad and Finder.

I didn't use a default path for PNG_ICON_PATH like WindowsResource.cmake to avoid more code duplication. Maybe that feature should be extracted as a function.

The png2icns command is from libicns [1].

[1] https://icns.sourceforge.io/

Martchus commented 5 years ago

Thanks, nice that you are able to find the right places and variable names in my build scripts.

yan12125 commented 5 years ago

You scripts are quite clear :)