2009-04-01

Add application icon on Eclipse with MinGW

source\resource.rc:
RESOURCE_ICON_APP ICON DISCARDABLE "../files/app.ico"
Project > Properties > C/C++ Build > Settings > Tool Settings > MinGW C++ Linker > Miscellaneous > Other objects:
Release\source\resource.o
Project > Properties > C/C++ Build > Settings > Build Steps > Pre-build steps > Command:
windres -i ..sourceresource.rc -o sourceresource.o

No comments:

Post a Comment