7.4.7.23 Using Resources

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