Files
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

13 lines
229 B
Plaintext

with "subproject";
project Normal is
for Source_Dirs use ("src/normal");
for Object_Dir use "obj/normal";
package Compiler is
for Default_Switches ("Ada") use ("-gnatep=foo.prep");
end Compiler;
end Normal;