You've already forked libadalang
mirror of
https://github.com/AdaCore/libadalang.git
synced 2026-02-12 12:28:54 -08:00
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
13 lines
229 B
Plaintext
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;
|