Commit Graph

24 Commits

Author SHA1 Message Date
Nicolas Boulenguez
031bdcc731 projects: style improvements
Remove the Name variable, which duplicates an attribute.

Replace hardcoded Mains with Name.

Remove transitional Library_Type variable from library projects.

Make explicit that Library_Version is only useful during relocatable
builds.

Compute Library_Version from Library_Name, in case it ever differs
from Name.

Make the list of possible Library_Type values explicit (the
documentation mentions "dynamic").
2022-08-09 12:44:51 +02:00
Nicolas Boulenguez
040e1cc35e projects: explictly qualify as standard or library 2022-08-09 12:44:51 +02:00
Nicolas Boulenguez
6c87fb7476 library projects: independent selection of each shared object version 2022-08-09 12:35:10 +02:00
Nicolas Boulenguez
f96aad04cd projects: share settings, inherit build flags, drop unused variables 2022-08-09 12:34:55 +02:00
anisimko
f4a4c46fbb Fix From/Toentity casing issue
no-tn-check

Change-Id: I081a5df36967200f2c258fdd80191cbf59a1667e
2022-05-27 22:12:08 +06:00
anisimko
acc686a58b Remove wrong Unreferenced pragma
New GNAT detect it.

TN: U122-031
Change-Id: I994d98ab9ace012c64d4409c9fb1f8579db3dcd5
2022-01-17 14:31:55 +00:00
Fabien Chouteau
5bdd20ae4d gnatcoll_*.gpr: rename external GNATCOLL_BUILD into GNATCOLL_BUILD_MODE
To avoid conflict with installed gnatcoll.gpr where GNATCOLL_BUILD means
library type.

Part of S709-037.

Change-Id: I372b3fc7b35faf14a223465069968ff1e5550250
2020-09-10 18:42:36 +02:00
Fabien Chouteau
d9a2231ff0 gnatcoll_*.gpr: rename all external GNATCOLL_*_BUILD into GNATCOLL_BUILD
To have a unified external for all GNATCOLL project, as discussed for
gnatcoll-db.

Part of S709-037.

Change-Id: I5b6c843df6926288b8906a8c285a6d682394d7bf
2020-08-26 18:38:05 +02:00
Fabien Chouteau
b3a055d835 gnatcoll_*.gpr: introduce the GNATCOLL_*_BUILD external
Like for gnatcoll_core, these externals allow gnatcoll_*.gpr to be used
from a project that defines the BUILD external in an incompatible way.

Part of S709-037.

Change-Id: Ib69453688c4c3ea112aa8b00d3a610bdc2f5426f
2020-07-27 16:56:56 +02:00
Fabien Chouteau
750379af7b gnatcoll_{postgres2ada|postgres|xref}.gpr: unifiy default value for BUILD
Part of T717-016.

Change-Id: Iacf0b56f7c6c1ab4670c8fc5f0fd36963b41dce3
2020-07-17 16:46:39 +02:00
Fabien Chouteau
afd3bbfb2f gnatcoll.gpr_{postgres|sql|sqlite|xref}: set default LIBRARY_TYPE
Part of T717-016.

Change-Id: Idd60944d984b2cf9c05759a87cd4b4bb8cc8e8b4
2020-07-17 16:46:32 +02:00
Vasiliy Fofanov
c067251840 Fix various typos and headers, bump copyright.
Motivated by github PR #14. no-tn-check

Change-Id: I866431c55fe0937f348d08cd8a188eb40fc8f061
2020-06-12 19:29:25 +02:00
Vadim Godunko
a75c22bf43 S603-050 Remove use of anonymous access type.
Change-Id: I46589a66681bf8be6f13236a388d9b075171019c
2019-06-07 10:11:51 +03:00
Pascal Obry
31e594501e Move NORMALIZED_TARGET after the final definition of TRAGET.
The TARGET variable is set into makefile.setup and so the
computation of NORMALIZED_TARGET must come after.

Fix cross-build of gnatcoll_db &nd libgnatcoll_xref.a

Change-Id: I815302900475c9852ef089a1076b1c4ae1d2df45
2019-04-04 07:14:42 +02:00
Vadim Godunko
be4cbd9320 R713-018 Rewrite database initialization code...
... to better handle case when SQLite's database file does not exists.
Previously, empty database file was created and error reported.

Change-Id: I97d10fa1f1ffac61e5974872b4087cd0c2a7964a
2018-07-13 17:46:16 +03:00
Andry Ogorodnik
66b861141d R117-018 Corrections for Setup_DB procedure:
- Recreate DB when version of schema is incorrect
- Recreate DB when it corrupted
- Recreate DB when file is incorrect
- Create schema when it is not created yet

Change-Id: Ic5a3aa55064ad3614fa275f4c87900a0674e3699
2018-07-09 18:42:55 +02:00
Pierre-Marie de Rodat
22f18fb3b2 Disable parallelism in Makefiles
(no-tn-check)

Change-Id: Iccd88aad5fa9a3e2e8b61ed060d7cb1f0549f8bb
2018-05-09 16:21:59 +02:00
Dmitriy Anisimkov
5a40249df9 Move GNATCOLL.SQL from gnatcoll-core
R314-019

Change-Id: I3c91eb31c5f93b632dccb4f16bafe498dbeaf7de
2018-03-28 19:07:56 +06:00
Vadim Godunko
4247e9ce0c QB01-037 Set library kind for libgpr.
Change-Id: Iffb6a6eca2c3ef76c6de5d2caa96bc8ddfe95ceb
2018-02-07 10:54:38 +01:00
Vasiliy Fofanov
86c928de85 Rename projects to avoid backward compatibility issues
Part of R117-015

Change-Id: I257dd1a2bb26853102226484d8d623e249d3eb6d
2018-01-17 17:59:01 +01:00
Nicolas Roche
6c44a88361 Fix location of version information
Part of P909-033

Change-Id: I9c967b1ac82473ddc4d074f36c0f4fc556b05819
2017-11-23 14:47:42 +01:00
Nicolas Roche
605ddf0454 Remove paths from project dependencies
Part of P909-033

Change-Id: I7dcf8ee03404b266f1b5c3c8da7348b481e4f1b3
2017-11-23 09:16:31 +01:00
Vasiliy Fofanov
c35a79f5b7 Compute normalized target and use it throughout. P909-033
Change-Id: I72dac0e351071db8f99efa206342a83796df28ea
2017-10-31 17:09:47 +01:00
Vasiliy Fofanov
ce99ac280e Initial version of gnatcoll-db module.
Part of major reorganization of gnatcoll for better modularity and
maintainability.

Change-Id: Iad961b53634520081eb90c37aff2bfdbf58b2e06
TN: P909-033 no-precommit-check
2017-10-29 15:30:27 +01:00