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
|
-- Asis project file for use with GNAT 3.15p
-- Copyright (c) 2003, 2006 Ludovic Brenta <ludovic@ludovic-brenta.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
-- Asis. Here is an example of how to use this project file:
--
-- with "asis";
-- project Example is
-- for Object_Dir use "obj";
-- for Exec_Dir use ".";
-- for Main use ("example");
-- package Linker renames Asis.Linker;
-- -- Alternatively, if you need additional switches:
-- -- package Linker is
-- -- for Default_Switches ("Ada") use (Asis.Ada_Switches & ...)
-- -- end Linker;
-- end Example;
with "gnatvsn.gpr";
project Asis is
for Source_Dirs use ("/usr/share/ada/adainclude/asis");
for Object_Dir use "/usr/lib/ada/adalib/asis";
Ada_Switches := "-lasis";
Linker_Switches := Ada_Switches; -- better name but keep backward compat
package Linker is
for Default_Switches ("Ada") use (Linker_Switches);
end Linker;
end Asis;
|