Blame | Last modification | View Log | RSS feed
#-------------------------------------------------------------------------------# Documentation#=pod=for htmltoc FAQ::Windows::Add an icon to an EXE=head1 NAMEHow to add an icon to a Windows Executable=head1 SYNOPSISThe following fragment uses a JATS provided tool to create a simple Resourcefile that contains version information and an icon. The icon will appear inWindows Explorer displays.# In the build.pl file# Create a resource file#BuildVersion ( '--Style=WinRC', '--File=MyRes.rc','--Comment=This is a comment','--Description=This is a description','--Icon=ProgIcon.ico');# In a makefile.pl# Build a program#Prog ( '*', 'MyProg', @OBJS );Prog ( '*', 'MyProg', '--Resource=MyRes.rc' );