Author: dsahlberg
Date: Sat Apr 25 15:23:57 2026
New Revision: 1933327

Log:
Remove explicit list of MSVC_VERSIONs. We need to actively maintain this list,
otherwise it isn't possible to build Serf with new versions of Visual Studio.

Instead leave it to the user to determine an appropriate value if they have
more than one version of Visual Studio installed.

If MSVC_VERSION is not set, SCons will use the newest version of Visual Studio.

* SConstruct
  (): As above

Modified:
   serf/trunk/SConstruct

Modified: serf/trunk/SConstruct
==============================================================================
--- serf/trunk/SConstruct       Sat Apr 25 08:33:39 2026        (r1933326)
+++ serf/trunk/SConstruct       Sat Apr 25 15:23:57 2026        (r1933327)
@@ -203,21 +203,8 @@ if sys.platform == 'win32':
                       'ARM64': 'arm64'
                      }),
 
-    EnumVariable('MSVC_VERSION',
-                 "Visual C++ to use for building",
-                 None,
-                 allowed_values=('14.3', '14.2', '14.1', '14.0', '12.0',
-                                 '11.0', '10.0', '9.0', '8.0', '6.0'),
-                 map={'2005' :  '8.0',
-                      '2008' :  '9.0',
-                      '2010' : '10.0',
-                      '2012' : '11.0',
-                      '2013' : '12.0',
-                      '2015' : '14.0',
-                      '2017' : '14.1',
-                      '2019' : '14.2',
-                      '2022' : '14.3',
-                     }),
+    ('MSVC_VERSION', "Visual C++ to use for building (see " +
+     "https://scons.org/doc/latest/HTML/scons-user.html#cv-MSVC_VERSION)", 
None),
 
     # We always documented that we handle an install layout, but in fact we
     # hardcoded source layouts. Allow disabling this behavior.

Reply via email to