summarylogtreecommitdiffstats
path: root/generic_gpr.in
blob: f3ed30face724ee16c377b0f2e77aa2e368dff18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
with "xmlada_@DEPENDS@";
project XmlAda_@ZONE@ is
    for Library_Name use "xmlada_@ZONE@";
    Version := "@VERSION@";
    So_Ext := ".so";

    type Xmlada_Kind_Type is ("static", "relocatable");
    Xmlada_Kind : Xmlada_Kind_Type := external ("LIBRARY_TYPE", "static");
    Libdir := "../../lib/xmlada/" & Xmlada_Kind;

    for Library_Kind use Xmlada_Kind;
    for Library_Dir use Libdir;
    for Library_Version use
       "lib" & Project'Library_Name & So_Ext & "." & Version;
    for Source_Dirs use ("../../include/xmlada");
    for Source_Files use ("@ZONE@.ads"@FILES@);
    for Externally_Built use "true";

end XmlAda_@ZONE@;