ports/textproc/templates_parser/files/templates_parser.gpr
John Marino 019ab276a6 textproc/templates_parser: Define Naming in gpr file
Two source files have non-standard names as they were build options.
The gpr file needs to pass this information to gprbuild users.
2014-05-17 15:34:01 +00:00

26 lines
954 B
Text

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;