summaryrefslogtreecommitdiff
path: root/src/tools/msvc/MSBuildProject.pm
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-03 08:57:39 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-03 08:57:39 +0900
commit721963f24ae8c2097bb7c44cc0f428740f6cf2a7 (patch)
tree6ef2a85e86e890d9cc48609ceefdb64b8dd1bd91 /src/tools/msvc/MSBuildProject.pm
parent074add6ed286a02256a1b03137ff6dd7c8126f25 (diff)
Add support for Visual Studio 2019 in build scripts
This adjusts the documentation and the scripts related to the versions of Windows SDK supported. Author: Haribabu Kommi Reviewed-by: Andrew Dunstan, Juan José Santamaría Flecha, Michael Paquier Discussion: https://postgr.es/m/CAJrrPGcfqXhfPyMrny9apoDU7M1t59dzVAvoJ9AeAh5BJi+UzA@mail.gmail.com Backpatch-through: 9.4
Diffstat (limited to 'src/tools/msvc/MSBuildProject.pm')
-rw-r--r--src/tools/msvc/MSBuildProject.pm25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/tools/msvc/MSBuildProject.pm b/src/tools/msvc/MSBuildProject.pm
index 47252533a1b..3edb11b9b5f 100644
--- a/src/tools/msvc/MSBuildProject.pm
+++ b/src/tools/msvc/MSBuildProject.pm
@@ -535,4 +535,29 @@ sub new
return $self;
}
+package VC2019Project;
+
+#
+# Package that encapsulates a Visual C++ 2019 project file
+#
+
+use strict;
+use warnings;
+use base qw(VC2012Project);
+
+no warnings qw(redefine); ## no critic
+
+sub new
+{
+ my $classname = shift;
+ my $self = $classname->SUPER::_new(@_);
+ bless($self, $classname);
+
+ $self->{vcver} = '16.00';
+ $self->{PlatformToolset} = 'v142';
+ $self->{ToolsVersion} = '16.0';
+
+ return $self;
+}
+
1;