Add support for checking tabulations.
[style_checker.git] / style_checker.gpr
blob838f54d2888dc78c82a3524c3caf23159c7f4ae8
1 ------------------------------------------------------------------------------
2 --                              Style Checker                               --
3 --                                                                          --
4 --                  Copyright (C) 2008, Pascal Obry                         --
5 --                                                                          --
6 --  This library is free software; you can redistribute it and/or modify    --
7 --  it under the terms of the GNU General Public License as published by    --
8 --  the Free Software Foundation; either version 2 of the License, or (at   --
9 --  your option) any later version.                                         --
10 --                                                                          --
11 --  This library is distributed in the hope that it will be useful, but     --
12 --  WITHOUT ANY WARRANTY; without even the implied warranty of              --
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       --
14 --  General Public License for more details.                                --
15 --                                                                          --
16 --  You should have received a copy of the GNU General Public License       --
17 --  along with this library; if not, write to the Free Software Foundation, --
18 --  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.          --
19 --                                                                          --
20 ------------------------------------------------------------------------------
22 project Style_Checker is
24    for Source_Dirs use ("src");
25    for Object_Dir use "obj";
26    for Exec_Dir use ".";
27    for Main use ("style_checker.adb");
29    package Builder is
30       for Default_Switches ("Ada") use ("-m");
31    end Builder;
33    package Ide is
34       for Vcs_Kind use "Git";
35    end Ide;
37    package Binder is
38       for Default_Switches ("Ada") use ("-static");
39    end Binder;
41    package Compiler is
42       for Default_Switches ("Ada") use ("-gnat05", "-gnaty", "-O2");
43    end Compiler;
45 end Style_Checker;