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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
------------------------------------------------------------------------------
-- Templates Parser --
-- --
-- Copyright (C) 1999-2014, AdaCore --
-- --
-- This is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This software is distributed in the hope that it will --
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty --
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- distributed with this software; see file COPYING3. If not, go --
-- to http://www.gnu.org/licenses for a complete copy of the license. --
------------------------------------------------------------------------------
with "tp_shared";
with "tp_xmlada";
library project Templates_Parser is
for Source_Dirs use ("src");
for Object_Dir use TP_Shared.Build_Dir & "/obj";
for Library_Dir use TP_Shared.Build_Dir & "/lib";
for Library_Name use "templates_parser";
for Library_Kind use TP_Shared.Library_Type;
for Library_Version use "libtemplates_parser.so." & external("VERSION");
case TP_Shared.XMLAda is
when "Installed" =>
for Source_Dirs use project'Source_Dirs & ("xsrc");
when "Disabled" =>
null;
end case;
package Naming renames TP_Shared.Naming;
package Compiler renames TP_Shared.Compiler;
package Binder renames TP_Shared.Binder;
package Builder renames TP_Shared.Builder;
package Ide renames TP_Shared.Ide;
package Install is
for Artifacts ("share/doc/templates_parser") use ("docs/build/html");
for Artifacts ("share/doc/templates_parser/pdf")
use ("docs/build/latex/*.pdf");
end Install;
-- Put LDFLAGS first so that they affect all libraries.
for Leading_Library_Options use TP_Shared.Ldflags;
end Templates_Parser;
|