Created
January 9, 2026 08:39
-
-
Save KHeresy/fe27af04cd15eddb9d186b1fad62f3a1 to your computer and use it in GitHub Desktop.
Boost-for-VisualStudio2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/boost/config/auto_link.hpp "b/c:\\code\\auto_link.hpp" | |
| index 64dee1e..5b74c06 100644 | |
| --- a/boost/config/auto_link.hpp | |
| +++ b/boost/config/auto_link.hpp | |
| @@ -187,11 +187,16 @@ BOOST_LIB_SUFFIX: Static/import libraries extension (".lib", ".a") for the c | |
| // vc14.2: | |
| # define BOOST_LIB_TOOLSET "vc142" | |
| -# elif defined(BOOST_MSVC) | |
| +# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1950) | |
| // vc14.3: | |
| # define BOOST_LIB_TOOLSET "vc143" | |
| +# elif defined(BOOST_MSVC) | |
| + | |
| + // vc14.3: | |
| +# define BOOST_LIB_TOOLSET "vc145" | |
| + | |
| # elif defined(BOOST_EMBTC_WINDOWS) | |
| // Embarcadero Clang based compilers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tools/build/src/tools/msvc.jam "b/C:\\code\\msvc1.jam" | |
| index b6276bb..b541abb 100644 | |
| --- a/tools/build/src/tools/msvc.jam | |
| +++ b/tools/build/src/tools/msvc.jam | |
| @@ -1154,7 +1154,15 @@ local rule generate-setup-cmd ( version : command : parent : options * : cpu : g | |
| } | |
| else | |
| { | |
| - if [ MATCH "(14.[34])" : $(version) ] | |
| + if [ MATCH "(14.5)" : $(version) ] | |
| + { | |
| + if $(.debug-configuration) | |
| + { | |
| + ECHO "notice: [generate-setup-cmd] $(version) is 14.5" ; | |
| + } | |
| + parent = [ path.native [ path.join $(parent) "..\\..\\..\\..\\..\\Auxiliary\\Build" ] ] ; | |
| + } | |
| + else if [ MATCH "(14.[34])" : $(version) ] | |
| { | |
| if $(.debug-configuration) | |
| { | |
| @@ -1340,7 +1348,11 @@ local rule configure-really ( version ? : options * ) | |
| # version from the path. | |
| # FIXME: We currently detect both Microsoft Visual Studio 9.0 and | |
| # 9.0express as 9.0 here. | |
| - if [ MATCH "(MSVC\\\\14.[34])" : $(command) ] | |
| + if [ MATCH "(MSVC\\\\14.5)" : $(command) ] | |
| + { | |
| + version = 14.5 ; | |
| + } | |
| + else if [ MATCH "(MSVC\\\\14.[34])" : $(command) ] | |
| { | |
| version = 14.3 ; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment