Browse Source

Report where the headers and libraries were built to at the end of the
build.


[SVN r59833]

Vladimir Prus 16 years ago
parent
commit
f2445a29c2
2 changed files with 23 additions and 11 deletions
  1. 22 10
      Jamroot
  2. 1 1
      tools/build

+ 22 - 10
Jamroot

@@ -661,19 +661,31 @@ targets.create-metatarget top-level-target : [ project.current ]
 
 
 message explain :
-"\nBuilding the Boost C++ Libraries.
+"\nBuilding the Boost C++ Libraries.\n\n" ;
+explicit explain ;
 
-After the build, the headers will be located at
-  
+import build-system ;
+rule say ( ok ? ) 
+{
+    if $(ok)
+    {
+        ECHO 
+"\n\nThe Boost C++ Libraries were successfully built!
+          
+The following directory should be added to compiler include paths:
+          
     $(BOOST_ROOT)
-    
-The libraries will be located at  
-    
+      
+The following directory should be added to linker library paths:
+      
     $(stage-abs)
-     
-Use 'bjam install --prefix=<path>' if you wish to install headers and 
-libraries to a different location and remove the source tree.\n\n"
-  ;
+" ;
+    }    
+}
+IMPORT $(__name__) : say : : $(__name__).say ;
+
+build-system.set-post-build-hook $(__name__).say ;
+
 
 # This rule should be called from libraries' Jamfiles and will create two
 # targets, "install" and "stage", that will install or stage that library. The

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit 0406045d19ac7e909a8b52ee9661e5313e587af7
+Subproject commit 94dc4b82e91f75670f049d3cf7dc774f38f82f31

粤ICP备19079148号