File: words_engine.gpr

package info (click to toggle)
whitakers-words 0.2020.10.27-1.5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,580 kB
  • sloc: ada: 20,030; makefile: 79; sh: 66; sed: 2
file content (25 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (3)
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
with "shared.gpr";
with "support_utils.gpr";

library project Words_Engine is

   Soversion := External ("words_engine_shared_object_version", "");

   for Languages use ("Ada");
   for Library_Name use project'Name;
   case Soversion is
      when "" =>
         for Library_Kind use "static";
      when others =>
         for Library_Kind use "dynamic";
         for Library_Version use
           "lib" & Project'Library_name & ".so." & Soversion;
         for Leading_Library_Options use Shared.Ldflags;
   end case;
   for Source_Dirs use ("src/" & project'Name);
   for Library_Dir use "lib/" & project'Name & "-" & project'Library_Kind;
   for Object_Dir  use "obj/" & project'Name & "-" & project'Library_Kind;

   package Compiler renames Shared.Compiler;

end Words_Engine;