summaryrefslogtreecommitdiff
path: root/textproc/templates_parser/files/templates_parser.gpr
blob: 85f9e536dd3702c64d9cfad4277d8d48b528178b (plain) (blame)
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
project Templates_Parser is

   type TP_Kind_Type is ("static", "relocatable");
   TP_Kind : TP_Kind_Type := external ("LIBRARY_TYPE", "static");

   for Library_Name use "templates_parser";
   for Library_Kind use TP_Kind;
   case TP_Kind is
      when "relocatable" =>
         for Source_Dirs use ("../../include/templates_parser.relocatable");
         for Library_Dir use "../../lib/templates_parser.relocatable";
         for Library_Version use "libtemplates_parser.so";
      when others =>
         for Source_Dirs use ("../../include/templates_parser");
         for Library_Dir use "../../lib/templates_parser";
   end case;
   for Externally_Built use "true";

   package Naming is
      for Implementation ("Templates_Parser.Input")
        use "templates_parser-input__standalone.adb";
      for Implementation ("Templates_Parser_Tasking")
        use "templates_parser_tasking__standard_tasking.adb";
   end Naming;

end Templates_Parser;