6 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
7c4459b84d C API: switch ada_gpr_project_* functions to GPR2
The implementation of all these functions is now backed by GPR2 instead
of GNATCOLL.Projects.
2024-08-20 08:08:38 +00:00
Pierre-Marie de Rodat
abaa3bb9fc Testsuite: fix project files so that source dirs exist
The upcoming transition to GPR2 for the C/Python APIs will reveal
complaints about missing source directories. This is a good improvement,
but not the point of these testcases, so adjust them so that source
directories are not missing.
2024-08-19 11:21:39 +00:00
Pierre-Marie de Rodat
167b95abe3 Preprocessing: use "blank lines" line mode for integrated preprocessor 2023-09-04 13:42:17 +00:00
Pierre-Marie de Rodat
12ebf7dff6 stylechecks: check testsuite sources
Also fix existing style issues there.
2023-04-24 12:42:09 +00:00
Pierre-Marie de Rodat
b29dc70f2d Preprocessing: make it possible to collect compiler opts. from a subprj.
In particular for aggregate projects, it is sometimes necessary to
restrict the analysis to a sub-project in a GPR project tree. Similarly
to the project-based unit provider, add a Project/Project_Name argument
to the subprograms that collect preprocessor-related compilation options
in project files to restrict their analysis to a sub-project.

TN: V708-022
2022-07-18 13:18:15 +02:00
Pierre-Marie de Rodat
582459c162 Introduce functions to extract preprocessing data from GPR projects
TN: V708-022
2022-07-18 13:18:15 +02:00