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
|
-- XML/Ada project file for use with GNAT 3.15p
-- Copyright (c) 2003 Ludovic Brenta <ludovic.brenta@insalien.org>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program 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.
--
-- This project file is designed to help build applications that use
-- XML/Ada. Here is an example of how to use this project file:
--
-- with "/usr/share/ada/adainclude/xmlada";
-- project Example is
-- for Object_Dir use "obj";
-- for Exec_Dir use ".";
-- for Main use ("example");
-- package Linker renames Xmlada.Linker;
-- -- Alternatively, if you need additional switches:
-- -- package Linker is
-- -- for Default_Switches ("Ada") use (Xmlada.Ada_Switches & ...)
-- -- end Linker;
-- end Example;
project Xmlada is
for Source_Dirs use ("/usr/share/ada/adainclude/xmlada");
for Object_Dir use "/usr/lib/ada/adalib/xmlada";
Ada_Switches := "-lxmlada";
package Linker is
for Default_Switches ("Ada") use (Ada_Switches);
end Linker;
end Xmlada;
|