diff --git a/build_system.htm b/build_system.htm index 2d48baee1..9546f3596 100644 --- a/build_system.htm +++ b/build_system.htm @@ -265,9 +265,18 @@ bjam - bjam -sTOOLS="msvc" -sBUILD="<cxxflags>/G6"
default-build all with msvc, adding a compiler - specific command line switch + set TOOLS=msvc
+ bjam -sBUILD="<cxxflags>/G6"
Set an NT environment variable to always build with MSVC
+ default-build all, adding a compiler command line switch + + + + set TOOLS=msvc gcc
+ bjam -sBUILD="<msvc><*><cxxflags>/G6"
Set an NT environment variable to always build with MSVC and + GCC
+ default-build all, adding a MSVC-specific compiler command line switch

Setting Jam Variables

diff --git a/v1/build_system.htm b/v1/build_system.htm index 2d48baee1..9546f3596 100644 --- a/v1/build_system.htm +++ b/v1/build_system.htm @@ -265,9 +265,18 @@ bjam - bjam -sTOOLS="msvc" -sBUILD="<cxxflags>/G6"
default-build all with msvc, adding a compiler - specific command line switch + set TOOLS=msvc
+ bjam -sBUILD="<cxxflags>/G6"
Set an NT environment variable to always build with MSVC
+ default-build all, adding a compiler command line switch + + + + set TOOLS=msvc gcc
+ bjam -sBUILD="<msvc><*><cxxflags>/G6"
Set an NT environment variable to always build with MSVC and + GCC
+ default-build all, adding a MSVC-specific compiler command line switch

Setting Jam Variables