Put all objects in .build
[diouzhtu.git] / gwiad_wiki_service / service / wiki_service.gpr
blobd308e07d9ef91b55bc82e978633a90168bc7c074
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 "morzhol";
23 with "gwiad-plugins-services";
24 with "../../diouzhtu/diouzhtu";
25 with "../../shared";
26 with "../interface/wiki_interface";
28 Project Wiki_Service is
30    for Source_Dirs use ("src");
31    for Library_Name use "wiki_service";
32    for Library_Interface use ("wiki_service");
33    for Library_Kind use "dynamic";
34    for Library_Auto_Init use "false";
36    case Shared.Build is
37       when "Debug" =>
38          for Object_Dir use "../../.build/debug/ws/obj";
39          for Library_Ali_Dir use "../../.build/debug/ws/lib";
40          for Library_Dir use "../../.build/debug/slib/services/";
41       when "Profile" =>
42          for Object_Dir use "../../.build/profile/ws/obj";
43          for Library_Ali_Dir use "../../.build/profile/ws/lib";
44          for Library_Dir use "../../.build/profile/slib/services/";
45          for Library_Options use Project'Library_Options & ("-fprofile-arcs");
46       when "Release" =>
47          for Object_Dir use "../../.build/release/ws/obj";
48          for Library_Ali_Dir use "../../.build/release/ws/lib";
49          for Library_Dir use "../../.build/release/slib/services/";
50    end case;
52    case Shared.OS is
53       when "Windows_NT" =>
54          --  ??? for linker library ordering
55          for Library_Options use ("-laws", "-laws_win32", "-lws2_32");
56       when others =>
57          null;
58    end case;
60    ------------
61    -- Binder --
62    ------------
64    package Binder renames Shared.Binder;
66    --------------
67    -- Compiler --
68    --------------
70    package Compiler renames Shared.Compiler;
72    ---------
73    -- Ide --
74    ---------
76    package Ide renames Shared.Ide;
78 end Wiki_Service;