/usr/share/gprconfig/windres.xml is in gprbuild 2017-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <?xml version="1.0" ?>
<gprconfig>
<!-- This package provides the rules to handle Windows resource files -->
<configuration>
<compilers>
<compiler language="WinRes" />
</compilers>
<config>
package Compiler is
for Driver ("WinRes") use "${PREFIX(WinRes)}windres";
for Leading_Required_Switches ("WinRes") use ("-i");
for Object_File_Suffix ("WinRes") use ".coff";
for Object_File_Switches ("WinRes") use ("-o", "");
end Compiler;
package Naming is
for Body_Suffix ("WinRes") use ".rc";
end Naming;
</config>
</configuration>
</gprconfig>
|