--
-- Copyright (c) 2007 Tero Koskinen <tero.koskinen@iki.fi>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
--

with "comfignat.gpr";
with "build_ahven.gpr";  -- Link to the just compiled library.

project Ahven_Tests is
   for Languages use ("Ada");
   for Source_Dirs use ("../test");
   for Object_Dir use Comfignat.Objdir & "/test";
   for Exec_Dir use Comfignat.Builddir;
   for Main use ("tester.adb", "tap_tester.adb");

   package Builder is
      for Default_Switches ("Ada") use ("-g",
                                        "-gnatQ",
                                        "-gnatwa",
                                        "-gnatwF", -- unreferenced formal off
                                        "-gnat95");
   end Builder;

   package Linker is
      for Default_Switches ("Ada") use ("-g");
   end Linker;

   package Compiler is
      for Default_Switches ("Ada") use ("-gnatf", "-g");
   end Compiler;

   package Binder is
      for Default_Switches ("Ada") use ("-E", "-static");
   end Binder;

end Ahven_Tests;
