diff options
Diffstat (limited to 'generic_gpr.in')
-rw-r--r-- | generic_gpr.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/generic_gpr.in b/generic_gpr.in new file mode 100644 index 000000000000..f3ed30face72 --- /dev/null +++ b/generic_gpr.in @@ -0,0 +1,19 @@ +with "xmlada_@DEPENDS@"; +project XmlAda_@ZONE@ is + for Library_Name use "xmlada_@ZONE@"; + Version := "@VERSION@"; + So_Ext := ".so"; + + type Xmlada_Kind_Type is ("static", "relocatable"); + Xmlada_Kind : Xmlada_Kind_Type := external ("LIBRARY_TYPE", "static"); + Libdir := "../../lib/xmlada/" & Xmlada_Kind; + + for Library_Kind use Xmlada_Kind; + for Library_Dir use Libdir; + for Library_Version use + "lib" & Project'Library_Name & So_Ext & "." & Version; + for Source_Dirs use ("../../include/xmlada"); + for Source_Files use ("@ZONE@.ads"@FILES@); + for Externally_Built use "true"; + +end XmlAda_@ZONE@; |