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 60 61 62 63 64 65
|
------------------------------------------------------------------------------
-- --
-- GNATPP COMPONENTS --
-- --
-- G N A T P P --
-- --
-- S p e c --
-- --
-- Copyright (C) 2001-2015, AdaCore --
-- --
-- GNATPP is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNATPP is distributed in the hope that it will be useful, but --
-- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABI- --
-- LITY 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 GNAT; see file COPYING3. If not, --
-- go to http://www.gnu.org/licenses for a complete copy of the license --
-- --
-- GNATPP is maintained by AdaCore (http://www.adacore.com). --
-- --
------------------------------------------------------------------------------
with "xmlada_input";
with "xmlada_sax";
with "xmlada_dom";
with "xmlezout";
with "../../asis";
with "../../common";
project Gnat2xml extends "../tool_utils/tool_utils" is
-- This was derived from avatox_noxsl.gpr. We have no need for xsl here.
for Source_Dirs use (".");
for Object_Dir use "obj";
for Exec_Dir use ".";
for Main use ("gnat2xml-driver.adb",
"gnat2xml-gnat2xsd.adb",
"gnat2xml-xml2gnat.adb");
case Common.Comps is
when "toolsdev" =>
for Main use Project'Main
& ("gnat2xml-strip_comments.adb",
"gnat2xml-gnat2tokens.adb",
"pp-buffers-test.adb");
when others =>
null;
end case;
package Builder is
for Default_Switches ("ada") use Common.Builder'Default_Switches ("ada");
for Executable ("gnat2xml-gnat2xsd.adb") use "gnat2xsd";
for Executable ("gnat2xml-driver.adb") use "gnat2xml";
for Executable ("gnat2xml-xml2gnat.adb") use "xml2gnat";
end Builder;
package Compiler renames Common.Compiler;
package Binder renames Common.Binder;
package Ide renames Common.Ide;
package Linker renames Common.Linker;
end Gnat2xml;
|