Explorar o código

--show-libraries only lists compiled libraries (#1103)

Dmitry Arkhipov hai 3 meses
pai
achega
d18e17ad2a
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      boostcpp.jam

+ 8 - 1
boostcpp.jam

@@ -602,7 +602,14 @@ rule declare-targets ( all-libraries * )
         ECHO The following libraries require building\: ;
         for local l in $(libraries)
         {
-            ECHO "    - $(l)" ;
+            if $(l) = function_types
+            {
+                continue ;
+            }
+            if [ path.glob $(BOOST_ROOT)/libs/$(l)/build : Jamfile Jamfile.v2 ]
+            {
+                echo "    - $(l)" ;
+            }
         }
         EXIT ;
     }

粤ICP备19079148号