File: demos.gpr

package info (click to toggle)
libaws 2.2dfsg-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,624 kB
  • ctags: 1,173
  • sloc: ada: 61,829; ansic: 6,483; makefile: 1,282; xml: 196; sh: 119; java: 112; python: 66; sed: 40
file content (117 lines) | stat: -rw-r--r-- 4,849 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
------------------------------------------------------------------------------
--                              Ada Web Server                              --
--                                                                          --
--                         Copyright (C) 2003-2005                          --
--                                 AdaCore                                  --
--                                                                          --
--  Authors: Dmitriy Anisimkov - Pascal Obry                                --
--                                                                          --
--  This library is free software; you can redistribute it and/or modify    --
--  it under the terms of the GNU General Public License as published by    --
--  the Free Software Foundation; either version 2 of the License, or (at   --
--  your option) any later version.                                         --
--                                                                          --
--  This library is distributed in the hope that it will be useful, but     --
--  WITHOUT ANY WARRANTY; without even the implied warranty of              --
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       --
--  General Public License for more details.                                --
--                                                                          --
--  You should have received a copy of the GNU General Public License       --
--  along with this library; if not, write to the Free Software Foundation, --
--  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.          --
--                                                                          --
------------------------------------------------------------------------------

with "../shared";
with "../include/include";
with "../src/src";
with "../win32/win32";
with "demos_shared";

project Demos is

   for Languages use ("Ada", "Project file");

   Mains := ("hello_world.adb", "com_1.adb", "com_2.adb", "main.adb",
             "hotplug.adb", "dispatch.adb", "wps.adb", "ws.adb",
             "auth.adb", "text_input.adb", "vh_demo.adb", "res_demo.adb",
             "zdemo.adb", "split.adb", "web_mail.adb", "web_elements.adb",
             "web_elements_containers.ads", "web_elements_containers.adb");

   Mains_XMLAda := ("soap_client.adb", "soap_server.adb", "soap_svs.adb",
                    "soap_cvs.adb", "wsdl_demo_client.adb",
                    "wsdl_demo_server.adb", "interoplab_main.adb",
                    "soap_server_disp.adb", "test_jabber.adb");

   for Source_Files use
     Mains & ("dispatch_cb.adb", "auth_cb.adb", "text_input_cb.adb",
              "vh_demo_cb.adb", "ws_cb.adb", "zdemo_cb.adb", "rdemo.adb",
              "hotplug_cb.adb", "hello_world_cb.adb", "res_demo_cb.adb",
              "rdemo-adains_png.ads", "rdemo-page3_html.ads", "demos.gpr");

   for Main use Mains;

   case Shared.XMLAda is
      when "Installed" =>
         for Main use project'Main & Mains_XMLAda;
         for Source_Files use
           project'Source_Files
             & Mains_XMLADA
             & ("hello_demo.ads", "hello_demo-client.adb",
                "hello_demo-server.adb", "hello_demo-types.ads",
                "wsdl_demo_server_cb.adb", "interoplab.ads",
                "interoplab-client.adb", "interoplab-types.ads",
                "soap_server_cb.adb", "soap_server_disp_cb.adb",
                "soap_svs_cb.adb", "soap_svs_cb.adb",
                "soapinterop-org-xsd-arrayoffloat_type_pkg.ads",
                "soapinterop-org-xsd-arrayofint_type_pkg.ads",
                "soapinterop-org-xsd-arrayofsoapstruct_type_pkg.ads",
                "soapinterop-org-xsd-arrayofstring_type_pkg.ads",
                "soapinterop-org-xsd-soapstruct_type_pkg.adb",
                "soapinterop-org-xsd-soapstruct_type_pkg.ads",
                "soapinterop-org-xsd.ads",
                "soapinterop-org.ads", "soapinterop.ads");
      when "Disabled" =>
         null;
   end case;

   case Shared.Build is
      when "Debug" =>
         for Object_Dir use "../.build/debug/demos/obj";
         for Exec_Dir use "../.build/debug/demos";
      when "Release" =>
         for Object_Dir use "../.build/release/demos/obj";
         for Exec_Dir use "../.build/release/demos";
   end case;

   ---------
   -- Ide --
   ---------

   package Ide renames Shared.Ide;

   ------------
   -- Binder --
   ------------

   package Binder renames Shared.Binder;

   -------------
   -- Builder --
   -------------

   package Builder renames Shared.Builder;

   --------------
   -- Compiler --
   --------------

   package Compiler renames Demos_Shared.Compiler;

   ------------
   -- Linker --
   ------------

   package Linker renames Demos_Shared.Linker;

end Demos;