87 Commits

Author SHA1 Message Date
Pascal Obry
4c4c5f7076 Add documentation for new --cross-install option.
Continued work for TN eng/gpr/gpr-issues#134
2026-02-11 10:43:32 +01:00
Vincent Jicquel
b3e60f2e3c Skip link phase when the new attribute Disable_Linking is true
Several targets, such as c, ccg, or jvm, do not support linking.
To avoid hardcoded values in the gpr2 code, a new attribute, Disable_Linking,
has been introduced. It defaults to false, so only the targets mentioned above
need to define it.

Issue: eng/gpr/gpr-issues#765
2026-01-22 15:11:21 +00:00
Vadim Godunko
e1eccbeb57 Support of --create-missing-dirs switch 2025-12-20 21:51:46 +04:00
Pierre Béguet
6810e1aebd Support Config_File_Dependency_Support attribute for 7.2.2 retrocompatibility
Issue: eng/gpr/gpr-issues#754
2025-11-19 12:02:22 +01:00
Vincent Jicquel
6368914305 Update the Library_Options documentation
Two versions were present at the same time. Also, improve the definition
to reflect the case where partial linking is disabled.
2025-10-15 10:42:23 +02:00
Pierre Béguet
dcb5b4d294 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Vasiliy Fofanov <fofanov@adacore.com>
2025-10-06 10:34:37 +00:00
Pierre Béguet
b710237ab1 Remove mentions to a specific release for GPRbuild2 in GPRbuild User Guide
Issue: eng/gpr/gpr-issues#710
2025-10-06 07:25:08 +00:00
Pierre Béguet
cd18375e9f Add GPRbuild2 limitations to the GPRbuild User Guide
Issue: eng/gpr/gpr-issues#710
2025-10-06 07:25:08 +00:00
Pierre Béguet
19323fb09b Update GPRbuild User Guide to mention GPRbuild2
Issue: eng/gpr/gpr-issues#710
2025-10-06 07:25:08 +00:00
Vincent Jicquel
530809aecb documentation: format GPR environment variables with :envvar:
Uniformize the formatting of GPR_PROJECT_PATH_FILE, GPR_PROJECT_FILE and
ADA_PROJECT_PATH environment variables in the documentation

issue: no-tn-check (minor)
2025-10-01 15:51:08 +02:00
Pierre-Marie de Rodat
3a9005c5cf Documentation: fix the descriptions of --src-subdirs 2025-09-30 09:47:35 +00:00
Vincent Jicquel
852ad862ff Update the documentation of gprbuild to clarify project file search paths
The environment variables are not only used for project imports but also for
locating the initial root project file.

Issue: eng/gpr/gpr-issues#706
2025-09-29 08:17:35 +00:00
Vincent Jicquel
381a592cbb Fix typo in the -eI switch documentation
no-tn-check
2025-07-23 08:24:36 +00:00
Vincent Jicquel
415410cbb8 Fix documentation indexing issue in search bar
Pagefind search was not redirecting correctly to the index page
(genindex.html). This issue was caused by index.html being automatically
removed by Pagefind, leaving only the invalid URL "gen".

Fixes eng/gpr/gpr-issues#615
2025-07-11 12:23:05 +02:00
Vincent Jicquel
e3d19afa5c Documentation: remove the compilation artifacts examples
These artifacts may change in the future, so we do not want to display specific
values.

no-tn-check: minor documentation fix
2025-05-28 08:23:41 +00:00
Jerome Lambourg
170d1d938e Add missing attribute Linker'Unconditional_Linking
This is in particular needed when embedding a windows iconv via
windres.
2025-05-19 21:07:41 +02:00
Jerome Lambourg
c64cd30013 Add new attributes Linker'Group_Start_Switch and Linker'Group_End_Switch
Those expand by default to -Wl,--start-group and -Wl,--end-group and are
used to define a list of libraries to be resolved recursively by the linker.
2025-05-07 16:27:44 +02:00
Vasiliy Fofanov
d170964fdb Document runtime-specific configuration.
Also some minor cleanup and word-smithing.

For eng/gpr/gpr-issues#584
2025-04-20 13:31:17 +02:00
Jerome Lambourg
30d85484ed Cleanup references to the "Remote" package
Support for it was removed but some references remain in libgpr2.

Adjust testsuite and some checks whose conditions were too strict to
enable proper test result.

no-issue-check
2025-04-02 14:37:02 +02:00
Jerome Lambourg
7da9e5156b Deprecate Library_GCC attribute
It's been more than a couple of years now that this attribute is
replaced by Compiler'Driver attribute, and its mixed usage with index
or without makes it impossible to move to the new library, so let's
just dismiss now its usage.

For eng/gpr/gpr-issues#474
2025-03-07 16:27:43 +00:00
Jerome Lambourg
9367e9ee08 Project.View: add Has_Library_Src_Dir and fix the definition
Library_Src_Dir has no default value and should only be used when
the view is a standalone library.

For eng/gpr/gpr-issues#474
2025-03-07 16:27:43 +00:00
Vincent Jicquel
87214a67b2 Add the -a flag to the binder only for auto-init standalone libraries
Also:
* The Library_Auto_Init attribute default value is now linked to The
Library_Auto_Init_Supported.
* The gprinspect text test output no longer contains Library_Auto_Init because
the attribute's default value now relies on Library_Auto_Init_Supported, which
itself comes from the configuration. Because gprinspect is not called
with the -c option, attribute coming from the configuration are not
displayed.
* Several tests dedicated to standalone libraries have been added.
2025-02-18 11:13:19 +00:00
Jerome Lambourg
3e95b677af Add back the documentation of gpr tools exit code
It was removed by mistake during the distributed mode cleanup.

For eng/gpr/gpr-issues#504
2025-01-29 10:10:40 +01:00
Jerome Lambourg
b7c48be18b Cleanup the gpr documentation after removal of gpr distributed mode
Also perform a minor cleanup of tools/gprtools-options.ads to remove
the distributed-mode options there.

For eng/gpr/gpr-issues#504
2025-01-24 16:03:23 +01:00
Jerome Lambourg
49e179f4d7 Adjust test baselines 2025-01-23 15:44:58 +01:00