Explorar o código

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

[SVN r20909]
Rene Rivera %!s(int64=22) %!d(string=hai) anos
pai
achega
a6fbddd6df
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      Jamfile

+ 7 - 1
Jamfile

@@ -119,6 +119,12 @@ install-subinclude
 
 
 if [ install-sources lib ]
 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=)
     stage $(lib-locate:D=)
         :
         :
             [ install-sources lib ]
             [ install-sources lib ]
@@ -128,7 +134,7 @@ if [ install-sources lib ]
             [ cond $(with-install) : <target>install : <target>all ]
             [ cond $(with-install) : <target>install : <target>all ]
             [ cond $(with-stage) : <target>stage : <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 ]
             [ unless $(with-install) $(with-stage) : <suppress>true ]
         ;
         ;
 }
 }

粤ICP备19079148号