I'd like to embed a file (say, a logo) into an executable without having to translate it to an array in source, which increases the size by a lot and is harder to update.
While Googling, I found out about objcopy, but I don't know how to use it with cmake.
Anyone know how?
Isn't it something to do with resources?
Pick me!
Make a resources.rc file, and type
MAINICON ICON 'icon.ico'
Is that what you wanted? I think that you might be able to change it to PNG, JPG, or BMP. Possibly.
If anyone is wondering why I'm awake at GMT/UTC 2:45, I'm avoiding evil. So sorry for bumping all the topics.