Previous: Compiling Resources, Up: GNAT and Windows Resources [Contents][Index]
To include the resource file in your program just add the
GNAT-compatible object file for the resource(s) to the linker
arguments. With gnatmake
this is done by using the -largs
option:
$ gnatmake myprog -largs myres.o