summaryrefslogtreecommitdiff
path: root/gcc/ada/prj.ads
diff options
context:
space:
mode:
authorEmmanuel Briot <briot@adacore.com>2011-08-04 07:41:38 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-04 09:41:38 +0200
commit316d9d4f9f86acf8fd0e4b22a80d0134c876502a (patch)
tree90615aa381b47974f7c25d6c41437a8b2f3a956e /gcc/ada/prj.ads
parent8dd00781e17a65c4344681e13f763f8b41880c61 (diff)
downloadgcc-316d9d4f9f86acf8fd0e4b22a80d0134c876502a.tar.gz
prj.adb, [...] (Complete_Mains, [...]): new subprogram.
2011-08-04 Emmanuel Briot <briot@adacore.com> * prj.adb, prj.ads, makeutl.adb, makeutl.ads (Complete_Mains, Compute_Compilation_Phases): new subprogram. (Builder_Data, Builder_Project_Tree_Data): new subprogram and type The number of mains as well as the various compilation phases that need to be run are now project tree specific, since various aggregated trees might have different requirements. In particular, they do not all require bind or link phases. From-SVN: r177317
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r--gcc/ada/prj.ads8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index 4d8e47030b3..dae62e73cc2 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -1524,6 +1524,14 @@ package Prj is
-- whether a project was already processed for instance.
generic
+ with procedure Action (Project : Project_Id; Tree : Project_Tree_Ref);
+ procedure For_Project_And_Aggregated
+ (Root_Project : Project_Id;
+ Root_Tree : Project_Tree_Ref);
+ -- Execute Action for Root_Project and all its aggregated projects
+ -- recursively.
+
+ generic
type State is limited private;
with procedure Action
(Project : Project_Id;