Ver Fonte

Implement --show-libraries

[SVN r36612]
Vladimir Prus há 19 anos atrás
pai
commit
241b5e3e6a
1 ficheiros alterados com 10 adições e 0 exclusões
  1. 10 0
      Jamfile.v2

+ 10 - 0
Jamfile.v2

@@ -250,6 +250,16 @@ PYTHON_ROOT ?= $(python-root) ;
 # Select the libraries to install.
 # Select the libraries to install.
 libraries = [ libraries-to-install $(all-libraries) ] ;
 libraries = [ libraries-to-install $(all-libraries) ] ;
 
 
+if --show-libraries in [ modules.peek : ARGV ]
+{
+    ECHO "The following libraries require building:" ;
+    for local l in $(libraries)
+    {
+        ECHO "    - $(l)" ;
+    }
+    EXIT ;
+}
+
 # Custom build ID.
 # Custom build ID.
 local build-id = [ MATCH "^--buildid=(.*)" : [ modules.peek : ARGV ] ] ;
 local build-id = [ MATCH "^--buildid=(.*)" : [ modules.peek : ARGV ] ] ;
 if $(build-id)
 if $(build-id)

粤ICP备19079148号