Put all objects in .build
[diouzhtu.git] / gwiad_wiki_service / website / wiki_website.gpr
bloba722eb52a37e76d0732e7eb045a72f3188ef9e05
1 ------------------------------------------------------------------------------
2 --                                  Gwiad                                   --
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 "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
34      ("Ada", "HTML Template", "Ada Template");
36    for Source_Dirs use
37      ("src", "tsrc", "templates");
38    for Object_Dir use "obj";
39    for Library_Ali_Dir use "lib";
40    for Library_Dir use "../lib";
41    for Library_Name use "wiki_website";
42    for Library_Interface use ("wiki_website",
43                               "wiki_website.config",
44                               "wiki_website.service");
45    for Library_Kind use "dynamic";
46    for Library_Auto_Init use "false";
48    case Shared.Build is
49       when "Debug" =>
50          for Object_Dir use "../../.build/debug/wweb/obj";
51          for Library_Ali_Dir use "../../.build/debug/wweb/lib";
52          for Library_Dir use "../../.build/debug/slib/websites/";
53       when "Profile" =>
54          for Object_Dir use "../../.build/profile/wweb/obj";
55          for Library_Ali_Dir use "../../.build/profile/wweb/lib";
56          for Library_Dir use "../../.build/profile/slib/websites/";
57          for Library_Options use Project'Library_Options & ("-fprofile-arcs");
58       when "Release" =>
59          for Object_Dir use "../../.build/release/wweb/obj";
60          for Library_Ali_Dir use "../../.build/release/wweb/lib";
61          for Library_Dir use "../../.build/release/slib/websites/";
62    end case;
64    case Shared.OS is
65       when "Windows_NT" =>
66          --  ??? for linker library ordering
67          for Library_Options use ("-laws", "-laws_win32", "-lws2_32");
68       when others =>
69          null;
70    end case;
72    ------------
73    -- Binder --
74    ------------
76    package Binder renames Shared.Binder;
78    --------------
79    -- Compiler --
80    --------------
82    package Compiler renames Shared.Compiler;
84    ---------
85    -- Ide --
86    ---------
88    package Ide renames Shared.Ide;
90 end Wiki_Website;