Archive for the ‘IDE's’ Category

Add application icon on Eclipse with MinGW

sourceresource.rc:

RESOURCE_ICON_APP ICON DISCARDABLE "../files/app.ico"

Project > Properties > C/C++ Build > Settings > Tool Settings > MinGW C++ Linker > Miscellaneous > Other objects:

Releasesourceresource.o

Project > Properties > C/C++ Build > Settings > Build Steps > Pre-build steps > Command:

windres -i ..sourceresource.rc -o sourceresource.o