35 Commits

Author SHA1 Message Date
Pascal Obry
b6f03f9372 Use Ada 2022 array aggregate syntax. 2024-05-02 18:09:49 +02:00
Pascal Obry
d5a41cf7a4 Revert all Ada 2022 changes. 2024-03-14 23:23:09 +01:00
Pascal Obry
a1b25da130 Use Ada 2022 array aggregate syntax. 2024-03-14 17:08:59 +00:00
Pascal Obry
8c2ba5dbd8 Minor reformatting. 2022-12-20 16:04:12 +01:00
Blady
548e00e2a2 Select the shared library extension following the actual target. 2022-12-14 09:35:09 +01:00
Nicolas Boulenguez
f7cfa9bb53 Move LDFLAGS in linker command line before -l library options.
Options like --as-needed only affect following libraries,
so --as-needed currently has no effect in Library_Options.
Leading_Options exists exactly for this.
2022-06-01 19:45:49 +02:00
Matthieu Eyraud
8bad1c0b9b Add static-pic build
no-tn-check
2022-03-09 11:29:13 +01:00
Patschkowski
4bf1340fc9 Do not generate src/templates_parser-version.adb (#35)
Do not generate src/templates_parser-version.adb. 

Instead pass the version information via the Binder's environment to the source code. 
This way no code needs to be generated which makes the build process independent 
from make.
2020-06-12 07:57:21 +02:00
Pascal Obry
a2f2c4008c Add default value to VERSION.
Fix loading project in GPS when VERSION is not defined as an
environment variable.
2016-10-22 15:55:48 +02:00
Pascal Obry
8ec8a4d1dc Minor reformatting and code clean-up. 2016-10-22 15:55:48 +02:00
Nicolas Boulenguez
1ad63c8e32 Move last external value (VERSION) into tp_shared.gpr. 2016-05-05 23:11:40 +02:00
Nicolas Boulenguez
00a35f8a90 Allow the caller to override all cflags via environment variables.
Some redundant settings may probably be replaced with renamings from
TP_Shared so that they are updated in a single place in TP_Shared.
docs: -gnat05
regtests: -gnat05 -m Subversion
2016-05-05 23:11:40 +02:00
Nicolas Boulenguez
5fcb57c77c Move library's specific renamings and options out of the shared project. 2016-05-05 23:10:54 +02:00
Nicolas Boulenguez
24329f1a88 Optimize templates_parser.adb as other sources when in release mode. 2016-05-05 23:09:34 +02:00
Pascal Obry
12de97c16d Update some style checks.
First add -gnatyd for checking no DOS line terminators.

Also add -gnatyO in release mode, this was only activated in debug mode
for developpers back in 2008 because this check was recent.
2015-09-09 08:31:20 +02:00
Pascal Obry
f3637d9efe Add some more Pre/Post conditions. 2014-07-29 17:46:46 +02:00
Pascal Obry
5dc8aea0d1 Use -Wall only in debug mode. 2014-01-08 13:00:13 +01:00
Pascal Obry
5d09446f3c Use some Ada 2012 constructs.
Part of MA30-042.
2013-12-07 11:11:04 +01:00
Pascal Obry
57293ac335 Set VCS_Kind to auto mode. 2013-11-06 20:14:31 +01:00
Pascal Obry
a48ea10976 Simplify the build circuitry by using --subdir option.
Continued work for MA30-041.
2013-11-06 20:14:31 +01:00
Pascal Obry
7c8eb19de0 Explicitly tags some projects abstract. 2013-11-05 10:35:38 +01:00
Pascal Obry
cbb341cd26 Set default PROCESSORS value to 0 in tp_shared.gpr project. 2012-10-17 22:02:18 +02:00
Pascal Obry
a888119a79 Add support for cross-compiling.
For LA06-001.
2012-10-08 22:12:00 +02:00
Pascal Obry
bf939d96fb Move to GPLv3.
For L107-006.
2012-01-07 16:40:40 +01:00
Pascal Obry
527058bda7 Default to using Git VCS now. 2011-02-25 16:13:37 +01:00