Last active
November 2, 2022 10:50
-
-
Save jabed-web-dev/21742965314e1c5196a2153022367233 to your computer and use it in GitHub Desktop.
set icon in c/c++ exe file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'MAIN ICON "favicon.ico"' > resources.rc | |
| g++.exe -Wall -fexceptions -g -c app.cpp -o app.o | |
| windres.exe -J rc -O coff -i RESOUR~1.RC -o resources.res | |
| g++.exe -o app.exe app.o resources.res |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment