File: build_log4ada.gpr

package info (click to toggle)
liblog4ada 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 584 kB
  • ctags: 29
  • sloc: ada: 2,700; makefile: 53; sh: 12
file content (37 lines) | stat: -rw-r--r-- 1,190 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
with "xmlezout";
with "aws";

library project build_log4ada is

   type Library_Kind_Type is ("dynamic", "static");
   Kind : Library_Kind_Type := External ("LIBRARY_KIND");
   for Library_Name use "log4ada";
   for Library_Kind use Kind;
   for Library_Dir use "..";
   for Object_Dir use External ("OBJ_DIR");
   for Library_ALI_Dir use project'Object_dir & "/ali";
   case Kind is
      when "dynamic" =>
         for Library_Version use External ("SONAME");
         for Leading_Library_Options use External_As_List ("LDFLAGS", " ");
      when "static" =>
         null;
   end case;
   for Source_Dirs use ("../client/src", "../soap/common/");

   package Compiler is
      for Default_Switches ("Ada") use
        ("-g",
         "-gnati1",         --  Full ISO 8859-1 character set allowed in
         --  source code (for generated CORBA stubs)
         "-gnatf",          --  Full compiler error messages
         "-gnaty",          --  Enable style checks
         "-gnatwa",         --  Enable all warnings
         "-gnatwe");        --  Warning as errors
   end Compiler;

   package Binder is
      for Default_Switches ("Ada") use ("-E");
   end Binder;

end build_log4ada;