Sfoglia il codice sorgente

Add runtime-link-static/dynamic variants to build when building on Windows.

[SVN r20909]
Rene Rivera 22 anni fa
parent
commit
a6fbddd6df
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      Jamfile

+ 7 - 1
Jamfile

@@ -119,6 +119,12 @@ install-subinclude
 
 if [ install-sources lib ]
 {
+    local lib-build =
+        debug release
+        [ cond $(with-debug-python) : debug-python ]
+        [ cond $(NT) : <runtime-link>static/dynamic ]
+        <threading>single/multi
+        ;
     stage $(lib-locate:D=)
         :
             [ install-sources lib ]
@@ -128,7 +134,7 @@ if [ install-sources lib ]
             [ cond $(with-install) : <target>install : <target>all ]
             [ cond $(with-stage) : <target>stage : <target>all ]
         :
-            debug release [ cond $(with-debug-python) : debug-python ] <threading>single/multi
+            $(lib-build)
             [ unless $(with-install) $(with-stage) : <suppress>true ]
         ;
 }

粤ICP备19079148号