[clean-list] Icons on Executables

Ronny Wichers Schreur ronny@cs.kun.nl
Tue, 17 Feb 2004 23:53:31 +0100


Alves da Silva Cruz Willer writes (to the Clean Discussion list):

> Simple question: How could I associate an icon with an executable
> program generated by Clean?

[Assuming you're working with MS Windows]

1) Create a resource file (.rsrc) (for example with Visual Studio
   and its resource compiler (rc.exe))

2) Configure your CleanIDE project:
    Project > Project Options... > Linker
    v Include Resource Section
    [Set resource source...]  <<Select the resource file>>

See the source for the CleanIDE itself for more inspiration
(the resources are in the WinSupport directory).


Cheers,

Ronny Wichers Schreur