summaryrefslogtreecommitdiffstats
path: root/Modules/CompilerId
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-03 18:31:04 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-06 10:08:54 (GMT)
commitf97f8537f371daa073edce34f54743d1f261c022 (patch)
tree30f5e72adfe40f1d2ee6e468878081f62c38627c /Modules/CompilerId
parente40cedddc0bcdd7d0317592a83fde42fd018f72f (diff)
downloadCMake-f97f8537f371daa073edce34f54743d1f261c022.zip
CMake-f97f8537f371daa073edce34f54743d1f261c022.tar.gz
CMake-f97f8537f371daa073edce34f54743d1f261c022.tar.bz2
VS: Model a default target framework
Add fields to the VS generator to select a target framework. Migrate the existing default for VS 12 .NET CF for Windows CE. Report the values in `CMAKE_VS_*` variables and use them for the CSharp compiler id project too. Issue: #22849
Diffstat (limited to 'Modules/CompilerId')
-rw-r--r--Modules/CompilerId/VS-10.csproj.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CompilerId/VS-10.csproj.in b/Modules/CompilerId/VS-10.csproj.in
index ed5e847..fba74ff 100644
--- a/Modules/CompilerId/VS-10.csproj.in
+++ b/Modules/CompilerId/VS-10.csproj.in
@@ -6,6 +6,9 @@
<Keyword>Win32Proj</Keyword>
@id_system@
@id_system_version@
+ @id_TargetFrameworkVersion@
+ @id_TargetFrameworkIdentifier@
+ @id_TargetFrameworkTargetsVersion@
@id_WindowsTargetPlatformVersion@
@id_WindowsSDKDesktopARMSupport@
</PropertyGroup>