1 package VS2019ProjectCreator
;
3 # ************************************************************
4 # Description : A vs2019 (Visual Studio 2019) Project Creator
5 # Author : Johnny Willemsen
6 # Create Date : 28/03/2010
7 # ************************************************************
9 # ************************************************************
11 # ************************************************************
15 use VC12ProjectCreator
;
18 @ISA = qw(VC12ProjectCreator);
20 ## NOTE: We call the constant as a function to support Perl 5.6.
21 my %info = (Creator
::cplusplus
() => {'ext' => '.vcxproj',
22 'dllexe' => 'vs2019exe',
23 'libexe' => 'vs2019libexe',
26 'template' => [ 'vc10', 'vc10filters' ],
30 my %config = ('vcversion' => '16.00',
31 'toolsversion' => '16.0',
34 # ************************************************************
36 # ************************************************************
41 ## If we have the setting in our information map, then use it.
42 return $info{$key} if (defined $info{$key});
44 ## Otherwise, see if our parent type can take care of it.
45 return $self->SUPER::get_info_hash
($key);
48 sub get_configurable
{
49 my($self, $name) = @_;
51 ## If we have the setting in our config map, then use it.
52 return $config{$name} if (defined $config{$name});
54 ## Otherwise, see if our parent type can take care of it.
55 return $self->SUPER::get_configurable
($name);