Remove unit which does not exists from Library_Interface.
[diouzhtu.git] / gwiad_wiki_service / website / wiki_website.gpr
blobf15d83a9b56e83bd5dee182e2c7c2e3be627dd47
1 ------------------------------------------------------------------------------
2 --                                Diouzhtu                                  --
3 --                                                                          --
4 --                         Copyright (C) 2007-2012                          --
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 "aws";
24 with "gwiad";
25 with "gwiad-plugins-services";
26 with "gwiad-plugins-websites";
27 with "gwiad-web";
28 with "morzhol";
29 with "../interface/wiki_interface";
31 project Wiki_Website is
33    for Languages use ("Ada", "HTML Template", "Ada Template");
35    for Library_Name use "wiki_website";
36    for Library_Interface use ("wiki_website",
37                               "wiki_website.config",
38                               "wiki_website.service");
39    for Library_Kind use "dynamic";
40    for Library_Auto_Init use "false";
42    case Shared.Build is
43       when "Debug" =>
44          for Object_Dir use "../../.build/debug/wweb/obj";
45          for Library_Ali_Dir use "../../.build/debug/wweb/lib";
46          for Library_Dir use "../../.build/debug/slib/websites/";
47          for Source_Dirs use ("src",
48                              "../../.build/debug/wweb/tsrc", "templates");
49       when "Profile" =>
50          for Object_Dir use "../../.build/profile/wweb/obj";
51          for Library_Ali_Dir use "../../.build/profile/wweb/lib";
52          for Library_Dir use "../../.build/profile/slib/websites/";
53          for Library_Options use Project'Library_Options & ("-fprofile-arcs");
54          for Source_Dirs use ("src",
55                               "../../.build/profile/wweb/tsrc", "templates");
56       when "Release" =>
57          for Object_Dir use "../../.build/release/wweb/obj";
58          for Library_Ali_Dir use "../../.build/release/wweb/lib";
59          for Library_Dir use "../../.build/release/slib/websites/";
60          for Source_Dirs use ("src",
61                               "../../.build/release/wweb/tsrc", "templates");
62    end case;
64    ------------
65    -- Binder --
66    ------------
68    package Binder renames Shared.Binder;
70    --------------
71    -- Compiler --
72    --------------
74    COPT := Shared.Common_Options & ("-gnatyN", "-gnaty3Aabcefhiklmnoprstux");
76    package Compiler is
77       for Default_Switches ("Ada")
78         use Shared.Compiler'Default_Switches ("Ada");
79       for Switches ("wiki_website-template_defs-block_menu") use COPT;
80       for Switches ("wiki_website-template_defs-block_view") use COPT;
81       for Switches ("wiki_website-template_defs-bottom.ads") use COPT;
82       for Switches ("wiki_website-template_defs-edit.ads") use COPT;
83       for Switches ("wiki_website-template_defs-preview.ads") use COPT;
84       for Switches ("wiki_website-template_defs-top.ads") use COPT;
85       for Switches ("wiki_website-template_defs-view.ads") use COPT;
86       for Switches ("wiki_website-template_defs-welcome.ads") use COPT;
87       for Switches ("wiki_website-template_defs.adb") use COPT;
88    end Compiler;
90    ---------
91    -- Ide --
92    ---------
94    package Ide renames Shared.Ide;
96 end Wiki_Website;