Put all objects in .build
[diouzhtu.git] / diouzhtu / diouzhtu.gpr
blob867f20ccc6615252e93aec54987d6d077ce16b84
1 ------------------------------------------------------------------------------
2 --                               Diouzhtu                                   --
3 --                                                                          --
4 --                           Copyright (C) 2007                             --
5 --                            Olivier Ramonat                               --
6 --                                                                          --
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.                                         --
11 --                                                                          --
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.                                --
16 --                                                                          --
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 ------------------------------------------------------------------------------
22 with "../shared";
23 with "morzhol";
25 project Diouzhtu is
27    for Source_Dirs use ("src");
28    for Library_Name use "diouzhtu";
30    case Shared.Build is
31       when "Debug" =>
32          for Object_Dir use "../.build/debug/d/obj";
33          for Library_Dir use "../.build/debug/d/lib";
34       when "Profile" =>
35          for Object_Dir use "../.build/profile/d/obj";
36          for Library_Dir use "../.build/profile/d/lib";
37          for Library_Options use Project'Library_Options & ("-fprofile-arcs");
38       when "Release" =>
39          for Object_Dir use "../.build/release/d/obj";
40          for Library_Dir use "../.build/release/d/lib";
41    end case;
43    case Shared.Lib_Kind is
44       when "Dynamic" =>
45          for Library_Kind use "dynamic";
46       when "Static" =>
47          for Library_Kind use "static";
48    end case;
50    package Ide renames Shared.Ide;
51    package Compiler renames Shared.Compiler;
52    package Builder renames Shared.Builder;
54 end Diouzhtu;