Просмотр исходного кода

Only emit the summary if top-level 'forward' target was built.

[SVN r59838]
Vladimir Prus 16 лет назад
Родитель
Сommit
528a576eda
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      Jamroot

+ 6 - 2
Jamroot

@@ -567,6 +567,7 @@ class top-level-target : alias-target-class
     
     rule generate ( property-set )
     {
+        modules.poke : top-level-targets : $(__name__) ;
         if $(self.build-type) = minimal
         {
             local expanded ;
@@ -667,8 +668,10 @@ explicit explain ;
 import build-system ;
 rule say ( ok ? ) 
 {
-    if $(ok)
-    {
+    if forward in [ modules.peek : top-level-targets ] 
+    {        
+        if $(ok)
+        {
         ECHO 
 "\n\nThe Boost C++ Libraries were successfully built!
           
@@ -680,6 +683,7 @@ The following directory should be added to linker library paths:
       
     $(stage-abs)
 " ;
+        }    
     }    
 }
 IMPORT $(__name__) : say : : $(__name__).say ;

粤ICP备19079148号