[英]Visual studio platform toolset vs Windows SDK
Why does Microsoft visual studio has different configuration properties for settings 'Windows SDK' and 'platform toolset' in same project?为什么 Microsoft Visual Studio 在同一项目中设置“Windows SDK”和“平台工具集”的配置属性不同? I have the understanding that every windows SDK provides new/different version of platform toolset.我了解到每个 windows SDK 都提供新的/不同版本的平台工具集。 So how does it make sense to specify platform toolset of say Windows 10 SDK and at the same time setting the SDK option to say Windows 8.1 SDK in the same project? So how does it make sense to specify platform toolset of say Windows 10 SDK and at the same time setting the SDK option to say Windows 8.1 SDK in the same project?
Very confusing.非常混乱。
For the Windows target platform,
Windows SDK Version
specifies the version of the Windows SDK that your project requires. For the Windows target platform,Windows SDK Version
specifies the version of the Windows SDK that your project requires.
Platform Toolset
allows the project to target a different version of the Visual C++ libraries and compiler.Platform Toolset
允许项目以不同版本的 Visual C++ 库和编译器为目标。 Visual Studio C++ projects can target either the default toolset installed by Visual Studio, or one of the toolsets installed by several previous versions of Visual Studio, including toolsets that create executables that can run on Windows XP. Visual Studio C++ 项目可以针对 Visual Studio 安装的默认工具集,或几个以前版本的 Visual Studio 安装的工具集之一,包括创建可在 Windows XP 上运行的可执行文件的工具集。
"I have the understanding that every windows SDK provides new/different version of platform toolset" “我了解到每个 windows SDK 都提供新/不同版本的平台工具集”
The platform toolset consists of the C++ compiler (cl.exe) and linker (link.exe), along with the C/C++ standard libraries.该平台工具集由 C++ 编译器 (cl.exe) 和 linker (link.exe) 以及 C/C++ 标准库组成。 Platform Toolset is related to visual studio version. Platform Toolset 与 Visual Studio 版本相关。 For example:例如:
Visual Studio 2015: v140视觉工作室 2015:v140
Visual Studio 2017: v141视觉工作室 2017:v141
Visual Studio 2019: v142 Visual Studio 2019:v142
Windows SDK is related to windows version. Windows SDK 与 windows 版本相关。 For example:例如:
Windows SDK(10.0.18362.0):Windows 10, version 1903 Windows SDK(10.0.18362.0):Windows 10,版本1903
Windows SDK(8.1): Windows 7 or Windows Vista Windows SDK(8.1):Windows 7 或 Windows Vista
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.