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;
|