mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Merge topic 'vs-framework-version'
d51246c662VS: Default TargetFrameworkVersion to v4.7.2 for VS 2022f97f8537f3VS: Model a default target frameworke40cedddc0cmVisualStudio10TargetGenerator: Refactor target framework selection78782cc7dccmGlobalVisualStudio8Generator: Refactor SetGeneratorPlatform Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6699
This commit is contained in:
@@ -442,6 +442,15 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
|
||||
if(CMAKE_VS_PLATFORM_TOOLSET_VCTARGETS_CUSTOM_DIR)
|
||||
set(id_ToolsetVCTargetsDir "<VCTargetsPath>${CMAKE_VS_PLATFORM_TOOLSET_VCTARGETS_CUSTOM_DIR}</VCTargetsPath>")
|
||||
endif()
|
||||
if(CMAKE_VS_TARGET_FRAMEWORK_VERSION)
|
||||
set(id_TargetFrameworkVersion "<TargetFrameworkVersion>${CMAKE_VS_TARGET_FRAMEWORK_VERSION}</TargetFrameworkVersion>")
|
||||
endif()
|
||||
if(CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER)
|
||||
set(id_TargetFrameworkIdentifier "<TargetFrameworkIdentifier>${CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER}</TargetFrameworkIdentifier>")
|
||||
endif()
|
||||
if(CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION)
|
||||
set(id_TargetFrameworkTargetsVersion "<TargetFrameworkTargetsVersion>${CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION}</TargetFrameworkTargetsVersion>")
|
||||
endif()
|
||||
set(id_CustomGlobals "")
|
||||
foreach(pair IN LISTS CMAKE_VS_GLOBALS)
|
||||
if("${pair}" MATCHES "([^=]+)=(.*)$")
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
@id_system@
|
||||
@id_system_version@
|
||||
@id_TargetFrameworkVersion@
|
||||
@id_TargetFrameworkIdentifier@
|
||||
@id_TargetFrameworkTargetsVersion@
|
||||
@id_WindowsTargetPlatformVersion@
|
||||
@id_WindowsSDKDesktopARMSupport@
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user