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
|
Description: Handle XMLAda split in modules.
The xmlada project gathers all xmlada_* library projects. Building
templates_parser with more specific dependencies avoids an unneeded
dependency on xmlada_schema.
.
The dependency on XMLAda is a detail of the Templates_Parser.XML
implementation, and xmlada should not be required to compile a
program , at least if Externally_Built is set in the installed
templates_parser.gpr.
Author: Nicolas Boulenguez <nicolas@debian.org>
--- a/config/tp_xmlada_installed.gpr
+++ b/config/tp_xmlada_installed.gpr
@@ -16,7 +16,10 @@
-- to http://www.gnu.org/licenses for a complete copy of the license. --
------------------------------------------------------------------------------
-with "xmlada";
+with "xmlada_unicode";
+with "xmlada_input";
+with "xmlada_sax";
+with "xmlada_dom";
abstract project TP_XMLAda is
for Source_Dirs use ();
--- a/regtests/tests/0109_check_mem/check_mem.gpr
+++ b/regtests/tests/0109_check_mem/check_mem.gpr
@@ -17,7 +17,6 @@
------------------------------------------------------------------------------
with "templates_parser";
-with "xmlada";
project check_mem is
--- a/regtests/tests/0107_translations_demo/translations_demo.gpr
+++ b/regtests/tests/0107_translations_demo/translations_demo.gpr
@@ -17,7 +17,6 @@
------------------------------------------------------------------------------
with "templates_parser";
-with "xmlada";
project translations_demo is
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@
ENABLE_SHARED = $(shell $(GNAT) make -c -q -p -XTARGET=$(TARGET) \
-Pconfig/setup/test_shared 2>/dev/null && echo "true")
-ifeq ($(shell gnat ls -Pxmlada 2>&1 | grep 'project file .* not found'),)
+ifeq ($(shell gnat ls -Pxmlada_dom 2>&1 | grep 'project file .* not found'),)
TP_XMLADA = Installed
else
TP_XMLADA = Disabled
|