I've been trying to set icon on executable file(.exe) in linux and macOS.
what I learn is there are 3 places icon sets: on taskbar, window bar, and executable file thumbnail. I have set on taskbar and window bar, but not on exe file. (By the way, I've already done on 3 of them in windows using visual studio.)
and I might not know exact term of it, so I will show the example below: enter image description here
I guess .rc file should be in makefile. If so, I could solve it also in macOS. If not, I want to know how to set in linux and macOS too. Please let me know how to use it and set it. Thanks in advance.
p.s. I set icons on window bar and taskbar using GLFWimage and working on openGL3 & c++.
glfwSetWindowIcon(window, 1, &icon);