1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
with "gnatcoll";
project GnatColl_Sqlite is
for Library_Name use "gnatcoll_sqlite";
for Source_Dirs use ("../../include/gnatcoll");
for Externally_Built use "true";
for Source_List_File use "gnatcoll/" & Project'Library_Name & ".lgpr";
for Library_Kind use GnatColl.GnatColl_Kind;
for Library_Dir use GnatColl.Libdir;
for Library_Version use
"lib" & Project'Library_Name & GnatColl.So_Ext & "." & Gnatcoll.Version;
package Linker is
case GnatColl.With_Sqlite is
when "yes" =>
for Linker_Options use (GnatColl.Sqlite_Path, "-lsqlite3");
when "no" | "embedded" =>
null;
end case;
end Linker;
end GnatColl_Sqlite;
|