File: windres.xml

package info (click to toggle)
gprbuild 2015-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,228 kB
  • ctags: 67
  • sloc: ada: 27,214; xml: 4,127; makefile: 337; sh: 227; cpp: 89; fortran: 62; ansic: 37
file content (37 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" ?>
<gprconfig>
   <!--  This package provides the rules to handle Windows resource files -->

  <compiler_description>
    <name>WINDRES</name>
    <executable prefix="1">(i686-pc-mingw32-|x86_64-pc-mingw32-)?windres</executable>
    <version>
      <external>${PREFIX}windres --version</external>
      <grep regexp="^GNU windres \(GNU Binutils\) (\S+)" group="1"></grep>
    </version>
    <languages>WinRes</languages>
    <target>
      <external>${PREFIX}gcc -dumpmachine</external>
      <grep regexp="[^\r\n]+"></grep>
    </target>
  </compiler_description>

   <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>