Преглед изворни кода

Merge: Implement --show-libraries

[SVN r36613]
Vladimir Prus пре 19 година
родитељ
комит
8b758fa4ce
1 измењених фајлова са 10 додато и 0 уклоњено
  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号