File: general_lib.gpr

package info (click to toggle)
gprbuild 2014dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,564 kB
  • ctags: 195
  • sloc: ada: 110,384; xml: 3,632; sh: 2,810; makefile: 363; ansic: 204; cpp: 89; fortran: 62; asm: 27
file content (24 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
library project General_Lib is
   type Lib_Kind is ("static", "dynamic", "extern");
   Kind : Lib_Kind := external ("LIB", "static");
   Prefix := "../libraries/";
   for Languages    use ("Ada", "C");
   for Source_Dirs  use (Prefix & "lib_src");
   case Kind is 
      when "static" =>
         for Object_Dir   use  Prefix & "obj";
         for Library_Dir  use  Prefix & "lib";
         for Library_Kind use  "static";
         for Library_Name use "l1";
      when "dynamic" =>
         for Object_Dir   use  Prefix & "obj2";
         for Library_Dir  use  Prefix & "lib2";
         for Library_Kind use  "dynamic";
         for Library_Name use "l2";
      when "extern" =>
         for Library_Dir  use  Prefix & "lib2";
         for Library_Kind use "dynamic";
         for Library_Name use "l2";
         for Externally_Built use "true";
   end case;
end General_Lib;