1 ------------------------------------------------------------------------------
4 -- Copyright (C) 2008-2010 --
5 -- Pascal Obry - Olivier Ramonat --
7 -- This library is free software; you can redistribute it and/or modify --
8 -- it under the terms of the GNU General Public License as published by --
9 -- the Free Software Foundation; either version 2 of the License, or (at --
10 -- your option) any later version. --
12 -- This library is distributed in the hope that it will be useful, but --
13 -- WITHOUT ANY WARRANTY; without even the implied warranty of --
14 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
15 -- General Public License for more details. --
17 -- You should have received a copy of the GNU General Public License --
18 -- along with this library; if not, write to the Free Software Foundation, --
19 -- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. --
20 ------------------------------------------------------------------------------
26 for Source_Dirs use (".");
27 for Main use ("t1.adb", "t2.adb");
28 type Build_Type is ("Debug", "Release", "Profile");
29 Build : Build_Type := external ("PRJ_BUILD", "Debug");
32 for Default_Switches ("Ada") use ("-gnat05");
37 for Object_Dir use ".build/debug/obj";
38 for Library_Dir use ".build/debug/lib";
40 for Object_Dir use ".build/profile/obj";
41 for Library_Dir use ".build/profile/lib";
42 for Library_Options use Project'Library_Options & ("-fprofile-arcs");
44 for Object_Dir use ".build/release/obj";
45 for Library_Dir use ".build/release/lib";