Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Code/max/Compiling/Configuration/Compiler/VC.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@

#define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) )

#if _MSC_VER > 1943
#if _MSC_VER > 1950
MAX_COMPILER_MESSAGE("Compiling with a newer version of MSVC than max recognizes. Using last known version.");
#elif _MSC_VER >= 1950
// MSVC++ (Visual Studio 2026 / version 18.2)
#define MAX_COMPILER_VERSION_MAJOR 18
#define MAX_COMPILER_VERSION_MINOR 2
// TODO: I missed 18.0 and 18.1. Find what their _MSC_VER was. Maybe they all share 1950? This might make sense because they're all MSVC Build Tools 14.50
#elif _MSC_VER >= 1944
// MSVC++ (Visual Studio 2022 / version 17.14)
#define MAX_COMPILER_VERSION_MAJOR 17
#define MAX_COMPILER_VERSION_MINOR 14
#elif _MSC_VER >= 1943
// MSVC++ (Visual Studio 2022 / version 17.13)
#define MAX_COMPILER_VERSION_MAJOR 17
Expand Down
8 changes: 6 additions & 2 deletions Docs/DeprecationSchedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@

|MSVC version |Release date|max deprecation date|Adds support for |
|------------------|-----------:|-------------------:|----------------------------------------------------|
|MSVC 17.13.x |Feb 11, 2025| Current| |
|MSVC 17.9.x |Feb 13, 2024| Fab 11, 2030| |
|MSVC 18.2.x |Jan 13, 2026| Current| |
|MSVC 18.1.x |Dec 9, 2025| Jan 13, 2031| |
|MSVC 18.0.x |Nov 11, 2025| Dec 9, 2030| |
|MSVC 17.14.x |May 21, 2025| Nov 11, 2030| |
|MSVC 17.13.x |Feb 11, 2025| May 21, 2025| |
|MSVC 17.9.x |Feb 13, 2024| Feb 11, 2030| |
|MSVC 17.8.x |Nov 14, 2023| Feb 13, 2029| |
|MSVC 17.7.x |Aug 8, 2023| Nov 14, 2028| |
|MSVC 17.6.x |May 16, 2023| Aug 8, 2028| |
Expand Down
8 changes: 4 additions & 4 deletions Projects/VisualStudio/max/max.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -457,26 +457,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,26 +64,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions Projects/VisualStudio/maxManualTests/maxManualTests.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
Loading