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
|
with "xmlada_input";
with "xmlada_sax";
with "xmlada_dom";
with "../../../../asis";
-- This gets copied into .../ASIS/tools/gnat2xml/stage/tokens,
-- and we're referring to .../ASIS/asis.gpr.
with "../../../../common";
project Tokens extends "../../../tool_utils/tool_utils" is
-- And here we're referring to .../ASIS/tool_utils/tool_utils.gpr.
for Source_Dirs use (".");
for Object_Dir use "obj";
for Exec_Dir use ".";
for Main use ("gnat2xml-gnat2xsd.adb",
"gnat2xml-driver.adb",
"gnat2xml-xml2gnat.adb",
"gnat2xml-strip_comments.adb");
package Compiler is
for Default_Switches ("ada") use
("-O0", "-g", "-gnata", "-gnatyN", "-gnatyM30000", "-gnatws")
& Common.Adaflags;
-- Need to suppress style warnings, because the code is completely
-- unformatted.
end Compiler;
package Builder is
for Executable ("gnat2xml-gnat2xsd.adb") use "gnat2xsd";
for Executable ("gnat2xml-driver.adb") use "gnat2xml";
for Executable ("gnat2xml-xml2gnat.adb") use "xml2gnat";
end Builder;
package Linker renames Common.Linker;
end Tokens;
|